md5 library (v2)

Revision 2 of this benchmark created on


Preparation HTML

<script type="text/javascript" src="http://www.onicos.com/staff/iz/amuse/javascript/expert/md5.js"></script>
<script type="text/javascript" src="http://labs.cybozu.co.jp/blog/mitsunari/2007/07/24/js/md5.js"></script>
<script type="text/javascript" src="http://user1.matsumoto.ne.jp/~goma/js/md5.js"></script>
<script type="text/javascript" src="http://pajhome.org.uk/crypt/md5/2.2/md5-min.js"></script>
<script type="text/javascript" src="http://www.webtoolkit.info/djs/webtoolkit.md5.js"></script>
<script src="https://raw.github.com/kvz/phpjs/master/functions/strings/md5.js"></script>



<script>
  var str = [];
  var i = -1;
  
  while(++i < 100) str[i] = i;
  str = str.join("");
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
1
MD5_hexhash(str);
ready
2
md5.hex(str);
ready
3
CybozuLabs.MD5.calc(str);
ready
4
hex_md5(str);
ready
5
MD5(str);
ready
PHPJS
md5(str);
ready

Revisions

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