Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / computeAuditHash
Function: computeAuditHash()
ts
function computeAuditHash(entry): string;Defined in: packages/security/src/audit/append.ts:23
Compute the SHA-256 chain hash for an entry. Exposed for tests and for tooling that wants to recompute hashes outside the verifier.
Parameters
| Parameter | Type |
|---|---|
entry | Omit<StoredAuditEntry, "hash"> |
Returns
string