MCPcopy Create free account
hub / github.com/node-modules/utility / sha256

Function sha256

src/crypto.ts:70–72  ·  view source on GitHub ↗
(s: HashInput, format?: BinaryToTextEncoding)

Source from the content-addressed store, hash-verified

68 * @public
69 */
70export function sha256(s: HashInput, format?: BinaryToTextEncoding): string {
71 return hash('sha256', s, format);
72}
73
74/**
75 * sha512 hash

Callers

nothing calls this directly

Calls 1

hashFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…