Implement XOR encryption of the token