Skip to content

Commit cb595b7

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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 - i.e. it does not implement `setPublicKey` or
1120+
`setPrivateKey` methods.
11211121

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

0 commit comments

Comments
 (0)