I'm using Objective Zip to zip-up some files on my iOS app.
I want to protect them with a password and note the call...
- (ZipWriteStream *) writeFileInZipWithName:(NSString *)fileNameInZip fileDate:(NSDate *)fileDate compressionLevel:(ZipCompressionLevel)compressionLevel password:(NSString *)password crc32:(NSUInteger)crc32;
...requires a CRC32 value.
Not being expert on this, and having read-up about CRC on wikipedia etc., I'm still not sure what value to enter here.
Can it be zero? Should it be the byte-count of the file? Any random number?
Help and guidance appreciated.
Thanks