MCPcopy Create free account
hub / github.com/StarpTech/FastGraph / digest

Function digest

src/test-utils.ts:58–62  ·  view source on GitHub ↗
(algorithm: string, data: string)

Source from the content-addressed store, hash-verified

56 subtle: {
57 // @ts-ignore
58 async digest(algorithm: string, data: string) {
59 const hash = createHash('sha256')
60 hash.update(data)
61 return hash.digest()
62 },
63 },
64}
65

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected