I'm very new to Crypto++, and am trying to figure out if it is
possible to create an AES encrypted ZIP file? I see you can do an AES
encryption and you can create a zip file, but can/how would you create
a zip file using the AES encryption? Is this possible with Crypto++?
If so, could I get a hint on how to do this?
Thank you,
Mark
http://www.beiley.com
Typically you would compress, then encrypt. The compression develops entropy.
Jeff
Thanks for the response. I understand that I can encrypt and then
create a zip of these encrypted files, but I believe when you un-zip
this, you'll just get the encrypted files. I'd like an AES encrypted
ZIP file, which has the special information in it, so that when you
unzip, you get prompted for the password, and it not only unzips, but
also decrypts the original file. I believe this is a slightly
modified format of a zip file, and documented here:
http://www.winzip.com/aes_info.htm
I'm getting the idea that Crypto++ really doesn't support this?
Thanks,
Mark
http://www.beiley.com
The only archive format that I am aware of in Crypto++ is Gzip.
Jeff
Crypto++ is a library that provides cryptographic functions. Of course
it doesn't support zipping, interactive user input, GUI interaction
etc, that's the stuff that goes into the program that uses crypto++.
In your case you would need to have code or a library to perform the
zip functions, code to retrieve a passphrase and pass this to crypto++
and code to perform the encryption/decryption.
Chris