in reply to Adding a password to Zip compression ?
This has "recently" been discussed in Password Protected Zip files and Archive::ZIP. Unfortunately, you have to rely on some system call.