Add a simple xor utility.