MCPcopy Index your code
hub / github.com/nodejs/node / rsaSync

Function rsaSync

benchmark/crypto/keygen.js:16–25  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

14
15const methods = {
16 rsaSync(n) {
17 bench.start();
18 for (let i = 0; i < n; ++i) {
19 generateKeyPairSync('rsa', {
20 modulusLength: 1024,
21 publicExponent: 0x10001,
22 });
23 }
24 bench.end(n);
25 },
26
27 rsaAsync(n) {
28 let remaining = n;

Callers

nothing calls this directly

Calls 3

generateKeyPairSyncFunction · 0.85
startMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected