title: MD5 Hashing in Delphi 2009
body: <p>In borland delphi 7 and even in delphi 2007 everything worked, but in delphi 2009 it just returns the wrong hash!</p>
  
  <p>I use wcrypt2 script (<a href="http://pastebin.com/m2f015cfd" rel="noreferrer">http://pastebin.com/m2f015cfd</a>)</p>
  
  <p>Just have a look:</p>
  
  <p>string : "123456"</p>
  
  <p>hash:</p>
  
  <p>Delphi 7 : "e10adc3949ba59abbe56e057f20f883e" - real hash. <br>
  Delphi 2007 : "e10adc3949ba59abbe56e057f20f883e" - real hash too.<br>
  And...
  Delphi 2009 : "5fa285e1bebe0a6623e33afc04a1fbd5" - WTF??</p>
  
  <p>I've tried a lot of md5 scripts, but delphi 2009 does the same with all of them. Any help? Thanks.</p>