Hi
I am using below code to post image and I want to apply MD5 hashing in this code
NSData *imageData = UIImageJPEGRepresentation(imageView.image, 50) ; ;
EDAMResource *imageResource = [[[EDAMResource alloc]init]autorelease];
EDAMData *imageData1 =[[EDAMData alloc]initWithBodyHash:imageData
size:[imageData length] body:imageData ];
[imageResource setData:imageData1];
[imageResource setRecognition:imageData1];
NSString *mime = [[[NSString alloc]initWithString:@"image/jpeg" ] autorelease];
[imageResource setMime:mime];
NSArray *imageArray = [[NSArray alloc]initWithObjects:imageResource,nil];
[note setResources:imageArray];
Is to possible to apply md5 hashing in this code and if yes then how could I do this?
There is some sample code on github from the iPhoneRecipeBook that shows how to handle MD5 hashes for Evernote.