Skip to content

Commit 5473d41

Browse files
committed
fixup! doc: clarify DiffieHellmanGroup class docs
1 parent 13c55c3 commit 5473d41

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/api/crypto.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,9 +1115,9 @@ added: v0.7.5
11151115
-->
11161116

11171117
The `DiffieHellmanGroup` class takes a well-known modp group as its argument.
1118-
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.
1118+
It works the same as `DiffieHellman`, except that it does not allow changing
1119+
its keys after creation. In other words, it does not implement `setPublicKey()`
1120+
or `setPrivateKey()` methods.
11211121

11221122
```mjs
11231123
const { createDiffieHellmanGroup } = await import('crypto');

0 commit comments

Comments
 (0)