diff options
author | exoego <mogami@exoego.net> | 2019-09-25 05:27:37 +0900 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-10-03 19:43:47 -0700 |
commit | 03b7a5a4bf50672d7a2ebc87fd8a78f45f891df2 (patch) | |
tree | 3c161ad2c654e88afde782c2258b2787ed613a8f /doc | |
parent | d742535184655a04aafbf266522231aa1b7430c2 (diff) | |
download | android-node-v8-03b7a5a4bf50672d7a2ebc87fd8a78f45f891df2.tar.gz android-node-v8-03b7a5a4bf50672d7a2ebc87fd8a78f45f891df2.tar.bz2 android-node-v8-03b7a5a4bf50672d7a2ebc87fd8a78f45f891df2.zip |
doc: fix return type for crypto.createDiffieHellmanGroup()
PR-URL: https://github.com/nodejs/node/pull/29696
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/crypto.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 5ac8b09820..ba1582bd78 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1824,7 +1824,7 @@ added: v0.9.3 --> * `name` {string} -* Returns: {DiffieHellman} +* Returns: {DiffieHellmanGroup} An alias for [`crypto.getDiffieHellman()`][] @@ -2194,9 +2194,9 @@ added: v0.7.5 --> * `groupName` {string} -* Returns: {DiffieHellman} +* Returns: {DiffieHellmanGroup} -Creates a predefined `DiffieHellman` key exchange object. The +Creates a predefined `DiffieHellmanGroup` key exchange object. The supported groups are: `'modp1'`, `'modp2'`, `'modp5'` (defined in [RFC 2412][], but see [Caveats][]) and `'modp14'`, `'modp15'`, `'modp16'`, `'modp17'`, `'modp18'` (defined in [RFC 3526][]). The |