MCPcopy 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
119function generateKeyPairSync(type, options) {
120 return handleError(createJob(kCryptoJobSync, type, options).run());
121}
122
123function handleError(ret) {
124 if (ret == null)

Calls 3

createJobFunction · 0.85
handleErrorFunction · 0.70
runMethod · 0.45

Tested by

no test coverage detected