From 5473d419ede8c1d06eb2e9306cb5f255940994e7 Mon Sep 17 00:00:00 2001 From: Nitzan Uziely Date: Sun, 25 Apr 2021 00:30:26 +0300 Subject: [PATCH] fixup! doc: clarify DiffieHellmanGroup class docs --- doc/api/crypto.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index ee474e67674035..88d617949abdf4 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1115,9 +1115,9 @@ added: v0.7.5 --> 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 -keys after creation - i.e. does not implement `setPublicKey` or `setPrivateKey` -methods. +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');