in reply to XOR decryption

If you want to do real encryption, Seach CPAN for the Crypt modules.