@intrnl/xxhash64
v0.1.2
Published
xxHash64 implementation in JavaScript
Downloads
10,852
Readme
xxHash64 implementation in JS.
Examples
Hashing in one step
import { hash } from '@intrnl/xxhash64';
hash('foobar', 0); // 11721187498075204345n
Hashing in multiple steps
import { XXH64 } from '@intrnl/xxhash64';
const hash = new XXH64();
hash.update('foo');
hash.update('bar');
hash.digest(); // 11721187498075204345n