I am aware of the existence of tons of Crypt modules for encrypting data, but I just need simple encryption that encrypts or encodes a character into something different and with the capability to decrypt or decode this into its original value. I don't need a full-proof mechanism. I just wanted to have a text file represented in a non-readable way before storing it in a database.
I had made a similar implementation on Visual Basic, but I just need to have another opinion in Perl.