How to calculate the MD5 in Objective-C?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
md5 is available on the iPhone and can be added as an addition for ie
NSStringandNSDatalike below.MyAdditions.h
MyAdditions.m
EDIT
Added NSData md5 because I needed it myself and thought this is a good place to save this little snippet…
These methods are verified using the NIST MD5 test vectors in
http://www.nsrl.nist.gov/testdata/