|Perl Monk, Perl Meditation|
crypto with core modules onlyby morgon (Priest)
|on Aug 28, 2018 at 00:13 UTC||Need Help??|
morgon has asked for the wisdom of the Perl Monks concerning the following question:
I have several devices (pcs, phones, tablets, routers) where I store sensitive informations (passwords, PINs etc: short textual information), some of which are even shared via some cloud, so I am looking for a way to secure this in a way that would work everywhere and the one thing I have everywhere is a perl-installation.
So what I am looking for is the best way to encrypt and decrypt short strings via perl using core-modules only that produces encrypted versions containing only printable characters.
As the built-in crypt only uses the first 8 characters (afaik) this is unfortunately not as trivial as I thought it would be...
Note that I do not want solutions that implement an known algorithm in pure perl and that I am quite happy to share my secrets with the NSA, I am simply looking for something convenient to use to protect my secrets from the average Joe that hits the sweet spot between convenience and security.