added XOR crypt