Objective-C
Objective-C
Compute CRC32 of a File
Calculates the CRC32 of a file's contents and returns the 32-bit CRC as a hex string.Chilkat Objective-C Downloads
#import <CkoZipCrc.h>
#import <NSString.h>
CkoZipCrc *zipCrc = [[CkoZipCrc alloc] init];
// Use a relative for absolute path to the file..
int crc = [zipCrc FileCrc: @"qa_data/hamlet.xml"];
NSString *hexStr = [zipCrc ToHex: crc];
NSLog(@"%@",hexStr);