Skip to content

Instantly share code, notes, and snippets.

@MichaelPote
MichaelPote / md5.js
Last active October 8, 2022 23:52 — forked from PixnBits/md5.js
invalid reference fix and fixed add32 not being overwritten properly.
/*
* http://www.myersdaily.org/joseph/javascript/md5-text.html
*/
(function (global) {
var md5cycle = function (x, k) {
var a = x[0],
b = x[1],
c = x[2],
d = x[3];