MCPcopy
hub / github.com/larksuite/cli / sha256

Function sha256

scripts/install.test.js:97–99  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

95 }
96
97 function sha256(content) {
98 return crypto.createHash("sha256").update(content).digest("hex");
99 }
100
101 it("returns normally when hash matches", () => {
102 const content = "binary content here";

Callers 1

install.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected