I wrote (with the help of these nice perl monks) a script the other day to encrypt a file using blowfish. Blowfish is accepted around the world, but only slightly less than PGP.
Encryption can be acceived using the crypt::cbc module. It allows you to use all sorts of different types. Search it on google, i think the first or second site shows use and example code. :)
-Jack C
jack@crepinc.com