Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / xxhash32

Function: xxhash32()

ts
function xxhash32(input, seed?): string;

Defined in: packages/security/src/guard/xxhash.ts:20

Hash a buffer or a string, returning the 32-bit digest as an 8-character lowercase hex string.

Parameters

ParameterTypeDefault value
inputstring | Uint8Array<ArrayBufferLike>undefined
seednumber0

Returns

string

Stable