I am working on some image encryption algorithm and got stuck.
I have plaintext data value of $256$ and perform the following (all values in decimal):
$$[256 \oplus 2] mod (256) = 0$$
What will be the equation to decrypt the ciphertext $0$?
EDIT - Sorry...I actually intend to do mod 2 and not mod 256 if the answer of $[x \oplus 2]$ exceeds 256. I realized I'll just have to workaround this problem, since the '0' is not an acceptable value in my program. Thanks...