Crypt strings using the XOR method