xor encryption testing