DotNetZip extracting files (empty but still filename) if password wrong

367 views Asked by At

I am using dotnetzip and using the AES encryption option. When extracting if I enter the correct password everything works great. However if I enter a wrong password then it tells me its the wrong password but it still extracts the folder and shows all the file names etc although they are not decrypted as they are 0 bytes and empty.

What I want to do is if the password is wrong then nothing should happen, Now I know that it is the program that I am using for extracting that is finding the filenames so does dotnetzip have a way to hide the file names unless the zip is decrypted first?

0

There are 0 answers