login about faq


I can't reconcile the note at https://www.chilkatsoft.com/p/p_136.asp with what I'm seeing. I've encrypted a zip file with WinZip 19.5 and 256-bit AES. Then I open the zip with Chilkat Zip and see the first entry to have a CompressionMethod of 8 in the debugger rather than 99 as described in the linked documentation. It works the same for 128-bit AES.

What am I missing?

asked Oct 27 '15 at 11:48

tltabor's gravatar image


You are seeing the actual compression method 8 (the deflate algorithm). When a zip entry is AES encrypted, the AES encryption is indicated by compression method 99 in the local file header (and central directory entry), and the actual compression method is found in an "extra data" field that follows each header. The 8 that you see is the actual compression method from the "extra data" field.


answered Oct 28 '15 at 14:44

chilkat's gravatar image

chilkat ♦♦

Sorry, I don't follow. This statement in the linked documentation above appears to never be true for zips encrypted by WinZip with AES 128, etc:

if (entry.CompressionMethod == 99)

(Oct 28 '15 at 17:50) tltabor
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 27 '15 at 11:48

Seen: 1,496 times

Last updated: Oct 28 '15 at 17:50

powered by OSQA