doc: fix diffieHellman.getGenerator() description

This commit is contained in:
Brian White 2014-02-08 13:19:04 -05:00 committed by Fedor Indutny
parent d10a68736d
commit 3595139b51

View File

@ -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.