Modulo 2 addition and substraction are equivalent to XOR.

Reference: http://www.pccl.demon.co.uk/papers/modulo2.html

Advertisements