murmur3_128_x64
murmur3_128_x64(
data,seed?):Uint8Array<ArrayBuffer>
Defined in: hash/murmur3_128_x64.ts:22
Computes the MurmurHash3 x64 128-bit hash of data.
The variant used by Cassandra, Kafka and Elasticsearch for partitioning. In
JavaScript it runs on bigint arithmetic and is therefore several times
slower than murmur3_128_x86; pick it only when wire compatibility
requires it.
Complexity: O(n) in the byte length of data.
Parameters
Section titled “Parameters”Uint8Array
The bytes to hash.
number = 0
The 32-bit seed, defaulting to 0.
Returns
Section titled “Returns”Uint8Array<ArrayBuffer>
A 16-byte digest, two little-endian 64-bit words.