Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ generateKeyPairSync
Function
generateKeyPairSync
lib/internal/crypto/keygen.js:119–121 ·
view source on GitHub ↗
(type, options)
Source
from the content-addressed store, hash-verified
117
});
118
119
function
generateKeyPairSync(
type
, options) {
120
return
handleError(createJob(kCryptoJobSync,
type
, options).run());
121
}
122
123
function
handleError(ret) {
124
if
(ret == null)
Callers
15
rsaSync
Function · 0.85
dsaSync
Function · 0.85
test-crypto-keygen-key-objects.js
File · 0.85
test-crypto-keyobject-brand-check.js
File · 0.85
test-crypto-key-objects-messageport.js
File · 0.85
test-crypto-keyobject-clone-transfer.js
File · 0.85
test-crypto-key-objects.js
File · 0.85
test-crypto-keygen.js
File · 0.85
test-crypto-keyobject-hidden-slots.js
File · 0.85
test-crypto-keyobject-no-own-symbols.js
File · 0.85
test-crypto-keygen-non-standard-public-exponent.js
File · 0.85
test-crypto-private-decrypt-gh32240.js
File · 0.85
Calls
3
createJob
Function · 0.85
handleError
Function · 0.70
run
Method · 0.45
Tested by
no test coverage detected