in reply to Encryption, Decryption & Password Protection
GnuPG can be used to encrypt files. Is there a particular reason you want to use Perl for this?
More generally, I get the impression that you don't have a lot of experience with encryption (not an insult, just a statement of fact). That is a very good sign that you should be using premade solutions, not trying to come up with your own.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.