diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 9b4559473ca7e5..88d617949abdf4 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -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. +It works the same as `DiffieHellman`, except that it does not allow changing +its keys after creation. In other words, it does not implement `setPublicKey()` +or `setPrivateKey()` methods. ```mjs const { createDiffieHellmanGroup } = await import('crypto');