doc: fix diffieHellman.getGenerator() description
authorBrian White <mscdex@mscdex.net>
Sat, 8 Feb 2014 18:19:04 +0000 (13:19 -0500)
committerFedor Indutny <fedor.indutny@gmail.com>
Sat, 8 Feb 2014 22:42:41 +0000 (02:42 +0400)
doc/api/crypto.markdown

index 8dd9b7c..5323e12 100644 (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.