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

Function rsaAsync

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

Source from the content-addressed store, hash-verified

25 },
26
27 rsaAsync(n) {
28 let remaining = n;
29 function done(err) {
30 assert.ifError(err);
31 if (--remaining === 0)
32 bench.end(n);
33 }
34 bench.start();
35 for (let i = 0; i < n; ++i)
36 generateKeyPair('rsa', {
37 modulusLength: 512,
38 publicExponent: 0x10001,
39 }, done);
40 },
41
42 dsaSync(n) {
43 bench.start();

Callers

nothing calls this directly

Calls 2

generateKeyPairFunction · 0.85
startMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…