MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / sha256

Function sha256

apps/kimi-code/scripts/native/assets.mjs:36–38  ·  view source on GitHub ↗
(bytes)

Source from the content-addressed store, hash-verified

34}
35
36function sha256(bytes) {
37 return createHash('sha256').update(bytes).digest('hex');
38}
39
40async function readJson(path) {
41 return JSON.parse(await readFile(path, 'utf-8'));

Callers 1

packageManifestEntriesFunction · 0.70

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected