david-lshift / winzipaes

Automatically exported from code.google.com/p/winzipaes
0 stars 0 forks source link

can't open zip file with password which created by winzipaes #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use winzipaes to create a zip file with password, the code is below:
AesZipFileEncrypter enc = new AesZipFileEncrypter("test_winzipaes.zip");
enc.add(new File("1.txt"), "123456");
2. I can't open the file with winzip or 7zip

I use the newest winzipaes and bcprov-jdk16-146.jar, my operating system is 
winXP.

Original issue reported on code.google.com by zju....@gmail.com on 15 Mar 2011 at 6:15

GoogleCodeExporter commented 9 years ago
Please have a look at the comment of AesZipFileEncrypter:

One instance of this class represents one encrypted ZIP file, that can receive 
add() method calls that must be followed by one final call to close() to write 
the final archive part and close the output stream.

Original comment by olaf.merkert on 15 Mar 2011 at 5:40