MD5

Benchmark created on


Preparation HTML

<script src="https://cdn.jsdelivr.net/gh/emn178/js-md5/build/md5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/md5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/spark-md5/3.0.2/spark-md5.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/hash-wasm"></script>

Setup

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

Test runner

Ready to run.

Testing in
TestOps/sec
js-md5
md5(str);
ready
CryptoJS
CryptoJS.MD5(str).toString();
ready
SparkMD5
SparkMD5.hash(str);
ready
Hash-WASM
hashwasm.md5(str)
ready

Revisions

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