3

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

Thanks.

Ahmad Kayyali
  • 8,233
  • 13
  • 49
  • 83
  • possible duplicate of [Compression API on the iPhone](http://stackoverflow.com/questions/230984/compression-api-on-the-iphone) – Brad Larson Nov 02 '10 at 16:22
  • See also [Objective-C library recommendation for AES-256 in CTR mode](http://stackoverflow.com/questions/2530746/objective-c-library-recommendation-for-aes-256-in-ctr-mode) – Brad Larson Nov 02 '10 at 16:23

2 Answers2

5

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
Mattia
  • 2,251
  • 1
  • 22
  • 27
3

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.

Ahmad Kayyali
  • 8,233
  • 13
  • 49
  • 83
  • can you share the compiling process? – RK- Mar 23 '11 at 05:04
  • @Krishnan: Do you mind if i post this as a Question and Answer it my self so everyone who is interested in this get benefit too'? – Ahmad Kayyali Mar 23 '11 at 07:06
  • @Krishnan: i have been told that you need to ask this question your self and i will be more than happy to answer it. – Ahmad Kayyali Mar 23 '11 at 09:01
  • Actually, posting a question and answering it yourself is just fine. You might consider leaving it open for a day or two before accepting your own answer in case others have different and/or better ways of doing it. – NotMe May 31 '11 at 21:29
  • @Chris Lively: ok I will do it very soon. – Ahmad Kayyali Jun 01 '11 at 06:02