Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudstack
/ u8ArrayToBigInt
Function
u8ArrayToBigInt
systemvm/agent/noVNC/core/crypto/bigint.js:28–34 ·
view source on GitHub ↗
(arr)
Source
from the content-addressed store, hash-verified
26
}
27
28
export
function
u8ArrayToBigInt(arr) {
29
let
hex =
'0x'
;
30
for
(
let
i = 0; i < arr.length; i++) {
31
hex += arr[i].toString(16).padStart(2,
'0'
);
32
}
33
return
BigInt(hex);
34
}
Callers
6
_generateKey
Method · 0.90
deriveBits
Method · 0.90
_generateKey
Method · 0.90
_importKey
Method · 0.90
encrypt
Method · 0.90
decrypt
Method · 0.90
Calls
1
toString
Method · 0.45
Tested by
no test coverage detected