Skip to content

Commit 688eeaa

Browse files
committed
fixup! crypto: add randomPrime/randomPrimeSync/checkPrime
1 parent 15a3534 commit 688eeaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3491,7 +3491,7 @@ added: REPLACEME
34913491
Generates a pseudo-random prime of `size` bits.
34923492

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

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

0 commit comments

Comments
 (0)