Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudstack
/ _padArray
Method
_padArray
systemvm/agent/noVNC/core/crypto/rsa.js:27–31 ·
view source on GitHub ↗
(arr, length)
Source
from the content-addressed store, hash-verified
25
}
26
27
_padArray(arr, length) {
28
const
res =
new
Uint8Array(length);
29
res.set(arr, length - arr.length);
30
return
res;
31
}
32
33
static
async
generateKey(algorithm, extractable, _keyUsages) {
34
const
cipher =
new
RSACipher;
Callers
1
_generateKey
Method · 0.95
Calls
1
set
Method · 0.65
Tested by
no test coverage detected