What's the easiest way to zip and encrypt a file with AES (128 or 256) in a Rails app, so that the zip archive can be opened with WinZip?
Requirements:
- Zip archive can be opened by WinZip (so no 7-zip)
- Zip archive is encrypted with AES-128 or AES-256 (which WinZip supports)
Gems:
- Rubyzip: doesn't support encryption
- Zipruby: supports only the traditional/legacy non-AES encryption which is significantly less secure.
Any advice on what I can do here?
Thanks!