Decryption
Decryption
- Decryption is done by reversing the encryption steps (every step is inversible in the encryption)
- The order of the steps is (generally speaking) reversed
- the individual steps are replaced by their inverses.
Examples:
s0 += s1 is reversed to s0 -= s1
s0 ^= s1 is self-inverse.
Some special cases need to be taken care of.