Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dmarman/sha256algorithm
/ return64Bit
Function
return64Bit
src/classes/utils.js:76–78 ·
view source on GitHub ↗
(number)
Source
from the content-addressed store, hash-verified
74
}
75
76
export
function
return64Bit(number) {
77
return
number.padStart(64,
'0'
)
78
}
79
80
export
function
padding(input, base =
'text'
) {
81
if
(base ===
'text'
) input = stringToBinary(input);
Callers
2
padding
Function · 0.70
paddingExplained
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected