Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dmarman/sha256algorithm
/ decimalToBinary
Function
decimalToBinary
src/classes/utils.js:52–54 ·
view source on GitHub ↗
(decimal)
Source
from the content-addressed store, hash-verified
50
}
51
52
export
function
decimalToBinary(decimal) {
53
return
Number(decimal).toString(2)
54
}
55
56
export
function
binaryToDecimal(binary) {
57
return
parseInt(binary, 2);
Callers
8
Sigma.js
File · 0.90
MessageBlock.js
File · 0.90
Inpector.js
File · 0.90
SigmaUpper.js
File · 0.90
stringToBinary
Function · 0.70
hexToBinary
Function · 0.70
padding
Function · 0.70
paddingExplained
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected