Decoder:Co = Po + 0x17
Cn = Pn + Cn-1 + 0x17, for n > 0
where Cn and Pn are the n'th byte of the encoded text and plain text respectively.
Here is the encoder asm listing and its pseudo-C equivalent.Pn = Cn - Cn-1 - 0x17, for n > 0
Po = Co - 0x17
where Cn and Pn are the n'th byte of the encoded text and plain text respectively.