Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
36
function
sha256(bytes) {
37
return
createHash(
'sha256'
).update(bytes).digest(
'hex'
);
38
}
39
40
async
function
readJson(path) {
41
return
JSON.parse(
await
readFile(path,
'utf-8'
));
Callers
1
packageManifestEntries
Function · 0.70
Calls
1
update
Method · 0.65
Tested by
no test coverage detected