Hfnv
FNV-1a 128bit hashing utility with no external dependencies
Hfnv is a functional FNV-1a 128bit hashing utility written in TypeScript. It runs in the browser, or on the server using node.js.
Setup
yarn add hfnv
or
npm install --save hfnv
Usage
Before you start import the functions from the library
Basic usage
// Create random UUIDsconst hash = // Create the output // 24ac7f403a3c64bf6f48c2b048d6ae31 // JKx/QDo8ZL9vSMKwSNauMQ== // JKx_QDo8ZL9vSMKwSNauMQ // 265uihu41nkeln5blxxfzjb5d