Skip to content

Commit

Permalink
fixup! crypto: add randomPrime/randomPrimeSync/checkPrime
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Jan 23, 2021
1 parent 15a3534 commit 688eeaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -3491,7 +3491,7 @@ added: REPLACEME
Generates a pseudo-random prime of `size` bits.

If `options.safe` is true, the prime will be a safe prime -- that is,
prime - 1 / 2 will also be a prime.
`(prime - 1) / 2` will also be a prime.

If `options.add` and `options.rem` are set, the prime will satisfy the
condition that prime % add = rem. The `options.rem` is ignored if
Expand Down

0 comments on commit 688eeaa

Please sign in to comment.