Cannot unzip using obfuscated password

Dec 5, 2009 at 8:16 AM

I have a zip file protected with a password, where the password contains non-alpha/numeric/punctuation characters, for example: Ù¹·±±±

DotNetZip cannot unzip, it reports "password did not match".

The passwords are generated using simple XOR^129 encryption, so are valid ascii (I think).

How can I get DotNetZip to unzip with these passwords?

Coordinator
Dec 5, 2009 at 12:56 PM

The string you included into the report didn't show up properly, I think.  What are the byte values of the characters you are using in the password? 

I don't know what XOR^129 encryption is.  I believe the password must use only low bytes (0xFF and below).  In .NET, all strings are unicode.  Just because you can print and view a password, does not mean it consists only of low-order bytes. 

Also, I'm not sure why you would be using encryption to generate a password.  That seems backwards to me.  Normally you use a password to drive the encryption.