WINZIP Encryption - detect encrypt type
Posted on 2008-11-18
I'm looking for a way to determine which encryption method was actually used. As far as I can tell, WINZIP has 3 options. The "2.0" method, the AES 128 bit method and the AES 256 method.
A programmatic solution would be ideal, maybe something involving .NET, but I'de settle for any way of detecting it on a zip file that is already created.
The only indicator of encryption that I see is a asterisk next to the filename in the winzip dialog. I just don't know how to determine which encryption method was used.
The reason I want to know is because I don't want anything to be encryped with the "2.0" method.
The first solution that came to mind was to use infozip to try and decrypt the file and if that worked, then I know that "2.0" was used because infozip doesn't support AES encryption, but that method isn't really a good sollution for me.