09.03.2017, 03:05
Could be a conversion for different character sets, target could be ANSI (256 chars, would match - just a guess tho).
The formula may look weird but could be simplified from the original.
EDIT: Scratch that, it's a simple form of encryption.
It just offsets each character by a number calculated from its position. Can be "decrypted" again by doing
The formula may look weird but could be simplified from the original.
EDIT: Scratch that, it's a simple form of encryption.
It just offsets each character by a number calculated from its position. Can be "decrypted" again by doing
Код:
string[x] -= (3^x) * (x % 15); if(string[x] < 0) string[x] += 256;