We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc31dc0 commit 13c55c3Copy full SHA for 13c55c3
doc/api/crypto.md
@@ -1114,8 +1114,10 @@ module):
1114
added: v0.7.5
1115
-->
1116
1117
-The `DiffieHellmanGroup` class takes a well-known modp group as its argument but
1118
-otherwise works the same as `DiffieHellman`.
+The `DiffieHellmanGroup` class takes a well-known modp group as its argument.
+Works the same as `DiffieHellman`, except that it does not allow changing its
1119
+keys after creation - i.e. does not implement `setPublicKey` or `setPrivateKey`
1120
+methods.
1121
1122
```mjs
1123
const { createDiffieHellmanGroup } = await import('crypto');
0 commit comments