title: md5 equivalent in javascript
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/768268/how-to-calculate-md5-hash-of-a-file-using-javascript">How to calculate md5 hash of a file using javascript</a><br>
    <a href="https://stackoverflow.com/questions/9554565/can-i-convert-password-to-md5-in-javascript-before-sending-to-php-page">Can I convert password to md5 in javascript before sending to php page?</a>  </p>
  </blockquote>
  
  
  
  <p>Is there any function or way to encrypt the string using JavaScript as hashing in php? I am asking user to set there password and i don't want there password to come at server in string format before php apply hashing on that. </p>