Skip to content

xxh3_64

xxh3_64(data, seed?): bigint

Defined in: hash/xxh3_64.ts:20

Computes the XXH3-64 hash of data (Yann Collet, xxHash specification v0.2.0).

The newer, faster successor to xxhash64: SIMD-friendly on platforms with vector support, and competitive even without it. Uses the algorithm’s default 192-byte secret; a caller-supplied secret is out of scope here — reach for seed instead.

Complexity: O(n) in the byte length of data.

Uint8Array

The bytes to hash.

bigint = 0n

The 64-bit seed, defaulting to 0n.

bigint

An unsigned 64-bit digest.