MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / sha256

Function sha256

src/cli/maintain-audit.ts:60–62  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

58}
59
60function sha256(s: string): string {
61 return createHash('sha256').update(s).digest('hex');
62}
63
64/** Build a tamper-evident chain from runs (chronological, oldest first). PURE. */
65export function buildAuditChain(runs: AuditableRun[]): AuditEntry[] {

Callers 3

buildAuditChainFunction · 0.85
verifyAuditChainFunction · 0.85
keyIdForFunction · 0.85

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected