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.
Show differencesHistory of post edits
#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.
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.