fnv512 is an implementation for the FNV-0/FNV-1/FNV-1A 512 bits hashing algorithms which has been rebuilt for WebAssembly (WASM).
Live demo: https://crashdemons.github.io/fnv512-wasm/
All credit goes to tweqx for this library
- emcc (Emscripten) or clang++
- updated C++11 libraries/includes
- run make to generate the tests, or ./make-wasm.sh to generate the JS loader and WASM
- note: fnv512-wasm.js is a barebones emscripten loader for the WASM Module. fnv512-wrapped.js automatically loads and sets up a JS Object with more useful methods to you.
coming soon
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
uint512 stub is available separately under LGPLv3 to allow reuse as a library.