title: How to generate md5 from String in IOS?
body: <p>I am trying to generate MD5 from a String. I successfully generated the key but the problem is that my key is different from android key. I generated the MD5 key using an on-line tool which results the same as android but didn't match to my key. I used the static String to generate MD5 which is </p>
  
  <blockquote>
    <p>1418212369896Sph!nxRock </p>
  </blockquote>
  
  <p>android MD5 key > d3db2cd07e21b3b55330d6746de32c0d  (this is exact similar to on-line tool)</p>
  
  <p>IOS MD5 key     > 2EC05E18061E51D326BF0BA7889B5413</p>
  
  <p>The code which I used to generate MD5 is below</p>
  
  <p><a href="https://stackoverflow.com/a/2018626/1921597">https://stackoverflow.com/a/2018626/1921597</a></p>