diff options
-rw-r--r-- | doc/api/crypto.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index 8dd9b7c41..5323e128a 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -384,7 +384,7 @@ then a buffer is returned. ### diffieHellman.getGenerator([encoding]) -Returns the Diffie-Hellman prime in the specified encoding, which can +Returns the Diffie-Hellman generator in the specified encoding, which can be `'binary'`, `'hex'`, or `'base64'`. If no encoding is provided, then a buffer is returned. |