Make encrypted zip from perl script I am trying to find a way to create a password-protected encrypted ZIP archive from an automated script. The script (preferably Perl, but any command line solution I can call FROM a perl script would also be acceptable) must take file(s) which will probably be generated on-the-fly by the perl script (I can take care of that part) and put them in the zip. The archive must be encrypted with strong encryption, AES 256 is my goal.
The encrypted zip should be compatible with windows XP compressed folders or WinZip so non-technical users can open it on windows.
The script that creates this zip is going to run on RedHat Linux, with the newest version of perl.
The unix command `zip` has a -e option that does exaclty what I need, except the password has to be typed in at the terminal prompt, I need to automate this from a script.
Any ideas? -------------------------------------------------- Accepted Solution [被接受的答案]