Skip to content

@tripo3d/fingerprint / murmurX64Hash128

Variable: murmurX64Hash128

ts
const murmurX64Hash128: (input, seed?) => string = x64hash128;

Defined in: index.ts:17

Not documented, out of Semantic Versioning, usage is at your own risk

Given a string and an optional seed as an int, returns a 128 bit hash using the x64 flavor of MurmurHash3, as an unsigned hex. All internal functions mutates passed value to achieve minimal memory allocations and GC load

Benchmark https://jsbench.me/p4lkpaoabi/1

Parameters

ParameterType
inputstring
seed?number

Returns

string

基于 MIT 协议发布(内部使用)