Home
last modified time | relevance | path

Searched refs:generatePrime (Results 1 – 6 of 6) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-prime.js10 generatePrime,
17 const pgeneratePrime = promisify(generatePrime);
21 assert.throws(() => generatePrime(i), {
30 assert.throws(() => generatePrime(80, i, common.mustNotCall()), {
39 assert.throws(() => generatePrime(80, {}), {
45 assert.throws(() => generatePrime(size, common.mustNotCall()), {
56 assert.throws(() => generatePrime(8, { safe: i }, common.mustNotCall()), {
59 assert.throws(() => generatePrime(8, { rem: i }, common.mustNotCall()), {
62 assert.throws(() => generatePrime(8, { add: i }, common.mustNotCall()), {
79 assert.throws(() => generatePrime(20, { add: -1n }, common.mustNotCall()), {
[all …]
/third_party/node/lib/
Dcrypto.js51 generatePrime,
193 generatePrime, property
/third_party/node/lib/internal/crypto/
Drandom.js471 function generatePrime(size, options, callback) { function
614 generatePrime, property
/third_party/node/doc/changelogs/
DCHANGELOG_V15.md619 …/nodejs/node/commit/110063d694)] - **(SEMVER-MINOR)** **crypto**: add generatePrime/checkPrime (Ja…
639 …/nodejs/node/commit/110063d694)] - **(SEMVER-MINOR)** **crypto**: add generatePrime/checkPrime (Ja…
DCHANGELOG_V17.md369 …com/nodejs/node/commit/0be3c61ae9)] - **test**: cover 32-bit sizes in generatePrime (Tobias Nießen…
/third_party/node/doc/api/
Dcrypto.md3965 ### `crypto.generatePrime(size[, options[, callback]])`