diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 33c6283171f..68f099b9857 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -3884,7 +3884,7 @@ console.log(key.export().toString('hex')); // e89..........41e The size of a generated HMAC key should not exceed the block size of the underlying hash function. See [`crypto.createHmac()`][] for more information. -### `crypto.generatePrime(size[, options[, callback]])` +### `crypto.generatePrime(size[, options], callback)`