Perl probably doesn't ship with many choices, but there are tons available:
Crypt:: (just to get you started).
| [reply] [Watch: Dir/Any] |
Thank you Paul. but Crypt:: package and its modules within are not shipped with core Perl, correct? In fact, the only encryption of any sort that I found and is distributed by Perl itself is just MD5, I'm afraid.
| [reply] [Watch: Dir/Any] |
MD5 is not an encryption algorithm.
Modules in the core need to be supported practically forever. It's definitely not a good place to put encryption modules, since those become obsolete fairly fast.
So what if it's not in the core.
| [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] |
For completely unbreakable encryption with core Perl, use the binary XOR operator ("^") and a one-time pad. If an OTP is unsuitable for your purposes (and it almost certainly is, because there are few practical cases in which an OTP can be used sensibly and correctly), use one of the Crypt modules, as suggested by others above. Don't be afraid of CPAN modules, they are a part of Perl, even if they are usually not distributed together with the binary.
| [reply] [Watch: Dir/Any] [d/l] |