doc: fix diffieHellman.getGenerator() description
This commit is contained in:
parent
d10a68736d
commit
3595139b51
@ -384,7 +384,7 @@ then a buffer is returned.
|
|||||||
|
|
||||||
### diffieHellman.getGenerator([encoding])
|
### 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,
|
be `'binary'`, `'hex'`, or `'base64'`. If no encoding is provided,
|
||||||
then a buffer is returned.
|
then a buffer is returned.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user