How to decompress an AES-256 encrypted Zip file?

Ahmad Kayyali picture Ahmad Kayyali · Oct 31, 2010 · Viewed 9.5k times · Source

I am looking for a compression library to use in iPhone application supports decompressing AES 256-bit archives built in Winzip compression utility.

Thanks.

Answer

Mattia picture Mattia · Oct 31, 2010

zlib is part of the iPhone sdk and is a well established and free option. If you're using Xcode you can add it to your project by:

  1. Right clicking on the Frameworks folder in your project (you can do it elsewhere but that's likely where you want to put it)
  2. Select add file
  3. Select existing frameworks
  4. Select libz.1.2.3.dylib