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
| Parameter | Type | Default value |
|---|---|---|
input | string | Uint8Array<ArrayBufferLike> | undefined |
seed | number | 0 |
Returns
string