How to decompress an AES-256 encrypted Zip file?

2020-02-23 04:24发布

问题:

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

Thanks.

回答1:

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


回答2:

Thank you very much for the help I finally ened up using ZipArchive library from:

http://www.artpol-software.com

I had couple of obstacles such as compiling the library to armv6/armv7/i386 architectures but finally it worked out for me, I am more than happy to share the compiling process if any body want to use ZipArchive, amazing library.