Adding XOR encryption