diff options
-rw-r--r-- | doc/api/crypto.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md index ae6e51ef13a..bfe0c8bc6ac 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1855,8 +1855,7 @@ added: v0.5.0 --> * `primeLength` {number} -* `generator` {number | string | Buffer | TypedArray | DataView} **Default:** - `2` +* `generator` {number} **Default:** `2` * Returns: {DiffieHellman} Creates a `DiffieHellman` key exchange object and generates a prime of |