Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualAntheus

Posted 06 February 2012 - 01:47 PM

The power of Google compels you (really, there's tons of those).


MD5 hashes may be salted, so while algorithm remains the same, result is different. See .Net documentation on how exactly their cryptography works. If it's just about hash, there shouldn't any problems. If hash is used only to initialize some other seed or encryption, then one would need to replicate same process in JS.

I'd advise against implementing MD5 in JS on your own, the code is just messy since JS lacks some useful operations.

#1Antheus

Posted 06 February 2012 - 01:46 PM

The power of Google compels you (really, there's tons of those).


MD5 hashes may be salted, so while algorithm remains the same, result is different. See .Net documentation on how exactly their cryptography works. If it's just about hash, there shouldn't any problems. If hash is used only to initialize some other seed or encryption, then one would need to replicate same process in JS.

I'd advise against implementing MD5 in JS on your own, the code is just messy since JS lacks some useful operations.

PARTNERS