Request checksum from Amazon S3 in iOS
问题 I have developed an iOS application which can upload larger videos to an Amazon S3 server In order to do that, I have used : 1 Amazon V1 API 2 NSURLSession to upload videos to support background uploads . I have integrated a MD5 checksum to my put request to in-order to validate after file uploaded to Amazon server. NSString *md5 = [FileHash md5HashOfFileAtPath:[url path]]; NSMutableData *commandToSend= [[NSMutableData alloc] init]; unsigned char whole_byte; char byte_chars[3] = {'\0','\0','