UNPKG

murmurhash3js-revisited

Version:

MurmurHash3 in JavaScript, matches the reference implementation (C++), runnable in node and browser.

17 lines (13 loc) 318 B
<html> <head> <title>murmurhash3js example</title> <script src="../murmurhash3js.min.js"></script> </head> <body> <h1>murmurHash3js example</h1> <div id="foo">NA</div> <script> (document.getElementById('foo')).innerHTML = murmurHash3.x86.hash32("To Be or Not to Be."); </script> </body> </html>