Question

I have an iPhone app in which I have to download a zip file and unzip the components. I've been suggested to use ZipArchive to do this job for me and so far i ve found it very useful.

My question is does the open source library - ZipArchive automatically do the checksum(CRC check) while extracting/unzipping files?

Or do I need to perform this separately to ensure that the files are not corrupted by any means?

What do you guys think? What's the way forward for me?

Was it helpful?

Solution

Looking into the code, ZipArchive (http://code.google.com/p/ziparchive/) checks CRC when the extracted file stream is being closed (unzCloseCurrentFile), so the answer is yes.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top