added code for xor encrypting