Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ sha256
Function
sha256
libatomic/scripts/package-runtime.mjs:62–62 ·
view source on GitHub ↗
(bytes)
Source
from the content-addressed store, hash-verified
60
throw
new
Error(
'Library has no protobuf descriptor'
);
61
}
62
const
sha256 = (bytes) => createHash(
'sha256'
).update(bytes).digest(
'hex'
);
63
const
metadata = {
64
schemaVersion: 1,
65
version,
Callers
1
packageRuntime
Function · 0.70
Calls
1
update
Method · 0.45
Tested by
no test coverage detected