I am writing a perl script that manipulates password protected zip files. Consequently I need to store & retrieve passwords to do this. I have three options for storing the password:
Whatever I choose must run in Perl, under Windows and be easy to use.
Any suggestions?
There are a few Perl encryption packages that run on Windows, you can download the PPMs with ActivePerl package manager.
You can also use the pure Perl version of those modules (look for the name ending in _PP).
I found these modules on CPAN:
The main problem with approach 3 is that, where do you store the key to the file that does contain the passwords? You could use Base64 for approach 2 but that very easy to "decrypt".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With