title: CommonCrypto is no longer part of the iPhone SDK - Where else can I easily get an MD5 function?
body: <p>So as many of you may already know, CommonCrypto isn't included in the iPhone SDK anymore (as on 3.0).</p>
  
  <p>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??</p>
  
  <p>A few clarifications:</p>
  
  <ul>
  <li>This isn't for security</li>
  <li>This is going to be used with an API that requires an MD5 digest of a string. I have no control over this API.</li>
  </ul>
  
  <p>If I could use SHA256, I would. I'm all for moving forward, but I can't change the API.</p>
  
  <hr>
  
  <h2>Edit</h2>
  
  <p>It seems I was mistaken. CommonCrypto <em>is</em> 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...</p>