xxhash_64
xxhash_64(
data,seed?):bigint
Defined in: hash/xxhash_64.ts:32
Computes the XXH64 hash of data (Yann Collet, xxHash specification v0.2.0).
The reference recommendation for 64-bit digests on 64-bit hardware, but in
JavaScript it runs on bigint arithmetic and is therefore slower than
xxhash32, not faster. Choose it for the wider digest, not for speed.
Complexity: O(n) in the byte length of data.
Parameters
Section titled “Parameters”Uint8Array
The bytes to hash.
bigint = 0n
The 64-bit seed, defaulting to 0n.
Returns
Section titled “Returns”bigint
An unsigned 64-bit digest.