How to decompress an AES-256 encrypted Zip file?
Asked Answered
C

2

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.

Cosmonautics answered 31/10, 2010 at 15:31 Comment(2)
possible duplicate of Compression API on the iPhoneDetach
See also Objective-C library recommendation for AES-256 in CTR modeDetach
C
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.

Cosmonautics answered 5/1, 2011 at 14:16 Comment(5)
can you share the compiling process?Carboy
@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'?Cosmonautics
@Krishnan: i have been told that you need to ask this question your self and i will be more than happy to answer it.Cosmonautics
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.Camisole
@Chris Lively: ok I will do it very soon.Cosmonautics
E
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
Endoskeleton answered 31/10, 2010 at 16:28 Comment(1)
careful this does not support AES 256 compressed files.Cosmonautics
C
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.

Cosmonautics answered 5/1, 2011 at 14:16 Comment(5)
can you share the compiling process?Carboy
@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'?Cosmonautics
@Krishnan: i have been told that you need to ask this question your self and i will be more than happy to answer it.Cosmonautics
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.Camisole
@Chris Lively: ok I will do it very soon.Cosmonautics

© 2022 - 2024 — McMap. All rights reserved.