diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 7761b4fdcc6555..1b5ca23f8050c1 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -3900,7 +3900,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)`