So as many of you may already know, CommonCrypto isn't included in the iPhone SDK anymore (as on 3.0).
Where else can I easily get hold of an MD5 function? Am I going to have to compile OpenSSL into my project just to get MD5??
A few clarifications:
- This isn't for security
- This is going to be used with an API that requires an MD5 digest of a string. I have no control over this API.
If I could use SHA256, I would. I'm all for moving forward, but I can't change the API.
Edit
It seems I was mistaken. CommonCrypto is still in the iPhone SDK, just not explicity as it used to be. I was looking for the libCrypto library to include in my project. I was unaware that you could include the CommonCrypto headers without linking against the library...