MD5 Shootout (v82)

Revision 82 of this benchmark created by emn178 on


Preparation HTML

<script src="https://cdn.rawgit.com/gorhill/yamd5.js/master/yamd5.min.js"></script>
<script src="https://rawgit.com/satazor/SparkMD5/master/spark-md5.min.js"></script>
<script src="https://rawgit.com/iReal/FastMD5/master/lib/md5.js"></script>
<script>
fast_md5 = md5;
md5 = null;
</script>
<script src="https://rawgit.com/emn178/js-md5/master/src/md5.js"></script>
<script>
js_md5 = md5;
md5 = null;
</script>
<script src="https://rawgit.com/blueimp/JavaScript-MD5/master/js/md5.min.js"></script>
<script>
javascript_md5 = md5;
md5 = null;
</script>
<script src="https://cdn.rawgit.com/wbond/md5-js/master/md5.js"></script>
<script>
md5_js = md5;
md5 = null;
</script>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="https://cdn.rawgit.com/placemarker/jQuery-MD5/master/jquery.md5.js"></script>
<script src="https://rawgit.com/h2non/jshashes/master/hashes.min.js"></script>
<script>
Hashes_MD5 =  new Hashes.MD5;
</script>
<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/md5.js"></script>

Setup

var str = 'The quick brown fox jumps over the lazy dog.';

Test runner

Ready to run.

Testing in
TestOps/sec
CryptoJS
CryptoJS.MD5(str).toString();
ready
YaMD5
YaMD5.hashStr(str);
ready
FastMD5
fast_md5(str, true);
ready
js-md5
js_md5(str);
ready
JavaScript MD5
javascript_md5(str);
ready
SparkMD5
SparkMD5.hash(str);
ready
jQuery-MD5
$.md5(str);
ready
jsHashes
Hashes_MD5.hex(str);
ready
md5-js
md5_js(str);
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.