JS Hash Algos

Benchmark created by Dave on


Preparation HTML

<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/md5.js"></script>
<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/sha1.js"></script>
<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/sha256.js"></script>
<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/sha512.js"></script>
<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/sha3.js"></script>
<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/ripemd160.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
MD5
CryptoJS.MD5("joe.smith@gmail.com" + Math.random());
ready
SHA1
CryptoJS.SHA1("joe.smith@gmail.com" + Math.random());
ready
SHA256
CryptoJS.SHA256("joe.smith@gmail.com" + Math.random());
ready
SHA512
CryptoJS.SHA512("joe.smith@gmail.com" + Math.random());
ready
SHA3
CryptoJS.SHA3("joe.smith@gmail.com" + Math.random());
ready
RIPEMD160
CryptoJS.RIPEMD160("joe.smith@gmail.com" + Math.random());
ready

Revisions

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

  • Revision 1: published by Dave on