projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d10a687
)
doc: fix diffieHellman.getGenerator() description
author
Brian White
<mscdex@mscdex.net>
Sat, 8 Feb 2014 18:19:04 +0000
(13:19 -0500)
committer
Fedor Indutny
<fedor.indutny@gmail.com>
Sat, 8 Feb 2014 22:42:41 +0000
(
02:42
+0400)
doc/api/crypto.markdown
patch
|
blob
|
history
diff --git
a/doc/api/crypto.markdown
b/doc/api/crypto.markdown
index
8dd9b7c
..
5323e12
100644
(file)
--- 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.