Skip to content

Graphorin API reference v0.8.0


Graphorin API reference / @graphorin/tools / outbound / sha256Hex

Function: sha256Hex()

ts
function sha256Hex(value): string;

Defined in: packages/tools/src/outbound/commentary-patterns.ts:193

Hex-encoded SHA-256 of a UTF-8 string. Used for the before/after digests on sanitization audit rows (raw payloads never reach the audit log).

Parameters

ParameterType
valuestring

Returns

string

Stable