simple gem for encrypting and decrypting repeating XOR