Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -1114,8 +1114,10 @@ module):
added: v0.7.5
-->

The `DiffieHellmanGroup` class takes a well-known modp group as its argument but
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
Comment thread
Linkgoron marked this conversation as resolved.
Outdated
keys after creation - i.e. does not implement `setPublicKey` or `setPrivateKey`
Comment thread
Linkgoron marked this conversation as resolved.
Outdated
methods.

```mjs
const { createDiffieHellmanGroup } = await import('crypto');
Expand Down