Okay. Time to elaborate some more on this encryption system.
Let's say I have a checksum of one, and the string "Yohi, world!" (the command for the script would be "\encode 1 Yohi, world!"). It will proceed to pad the string through with fake characters, as in the example below:
NPC Code:
(Real characters are in bold.)
ENC-YvoMhliQ,d iwUodrIludI!|
Obviously, a more complex checksum will produce more complex results:
NPC Code:
/*
\encode 127584 Yohi, all you fun forum people!
(Real characters are in bold.)
*/
ENC-YPoSYhYtZiE^uiKn_lo,
V^]KKe^O|iTiaSlvclHLHSCDc
GWa`byR[W`DAp_o]\NJu[Kx
f^uHz\m_uRAA\`njueK\]aZOxgif
[oaor_[WoqiduzBCPfmD][iDKCr
KkUfpLevWolPXszbOpe|Nscl
rKBJW^Xjescxg!b
The example attatched at the start of this thread uses an eight-digit checksum, the first four digits of which are 1425. It's tricky to crack, but it'll be interesting to see if you can manage it.
The ENC- prefix is just added by the encoding script in all circumstances and is not part of the encrypted text.
Little hints and tips:
- The random characters range between ASCII values 65 and 124 inclusive, so anything out of that range is guaranteed to be okay.
- I'm sure you guessed this from the previous hint, but all spaces are correct too.
- The original string is preserved character-for-character. If you have the right checksum, you'll get the right thing back. If you get gibberish then you're doing something wrong.
- The first letter in the encoded string - after the ENC- - is always a real letter. For example, in ENC-H4fsdjkhf, the H is guaranteed to be part of the string.
Just as practice, here's a block of encoded data that I've very generously included the checksum for so you can see if you understand the code. The checksum is 1381212 (one real letter, one fake, one real, three fake.. etc) and you can either delete the characters manually or make a script to do it for you. I recommend trying the script. Obviously, whichever way you attempt, you'll need to get rid of the ENC- prefix.
Now that you have a huge wodge of hints, I wish you good luck (again), and happy codebreakin'!
* Edit: I've had some problems using Notepad for this before, but just to point out: there should be no carriage returns (new lines) in the string. If you find some, cut 'em out. Make sure you keep the spaces and things the same, though!