Anonymous user
MD5/Implementation: Difference between revisions
→{{header|CoffeeScript}}
Line 862:
[A, B, C, D] =
[D, B + lrot(A + F + K[i] + (M[x +
a0 += A
Line 876:
</lang>
This implementation is more focused towards brevity rather than speed. Use a javascript MD5 implementation if speed is desired. Fork this code [https://gist.github.com/Higgs1/08ec61fbb250c1c92151 on github].
Note: this only works on byte strings. To use arbitrary Javascript strings, you must first encode as UTF-8.
|