DLTCEP fails to open the encrypted file (there are no errors or warnings, but the contents doesn't load into the editor window.
Presumably the extraction code is at fault then (though it has successfully extracted every other file correctly except these encrypted IDS files...)?
For reference the complete encrypted boolean.ids I extract is:
0xEF 0xBF 0xBD 0xEF 0xBF 0xBD 0xEF 0xBF0x-0xBD 0xEF 0xBF 0xBD 0xEF 0xBF 0xBD 0xEF
0xBF 0xBD 0xEF 0xBF 0xBD 0xEF 0xBF 0xBD0x-0xEF 0xBF 0xBD 0xEF 0xBF 0xBD 0xEF 0xBF
0xBD 0xEF 0xBF 0xBD 0xEF 0xBF 0xBD 0xEF0x-0xBF 0xBD 0xEF 0xBF 0xBD 0xE1 0xA9 0xBE
I've tried running the xor decryption ignoring the first two marker bytes, but I still don't get a sensible output. My current code is
int markerLength = 2;
for (int i = 0; i < input.Length - markerLength; i++)
{
result[i] = (char)(input[i + markerLength] ^ xorKey[i % 64]);
}
Someone pointing out my obvious mistakes would be really appreciated.