From cb595b7165cadc5b5f04fc0bb0c383e75a0a34eb 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..9a75471758f5b1 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 - i.e. it does not implement `setPublicKey` or +`setPrivateKey` methods. ```mjs const { createDiffieHellmanGroup } = await import('crypto');