summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian White <mscdex@mscdex.net>2014-02-08 13:19:04 -0500
committerFedor Indutny <fedor.indutny@gmail.com>2014-02-09 02:42:41 +0400
commit3595139b51de11a33c2e7af1892e89130aac7474 (patch)
tree8d0f742886b4ec58ee3e9f11c790aed38e3f82de
parentd10a68736d338ea1d673f3f8bd410868b73318e2 (diff)
downloadnode-3595139b51de11a33c2e7af1892e89130aac7474.tar.gz
doc: fix diffieHellman.getGenerator() description
-rw-r--r--doc/api/crypto.markdown2
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.