From 93fddabff98174c02418531487cd7c4359c278bf Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Sat, 2 Nov 2024 12:36:25 +0000 Subject: [PATCH] doc: remove mention of ECDH-ES in crypto.diffieHellman MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/55611 Reviewed-By: Luigi Pinca Reviewed-By: Tobias Nießen --- doc/api/crypto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index bfd96bd1169f32..4086f8a81a9b07 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -3638,7 +3638,7 @@ added: Computes the Diffie-Hellman secret based on a `privateKey` and a `publicKey`. Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'` -(for Diffie-Hellman), `'ec'` (for ECDH), `'x448'`, or `'x25519'` (for ECDH-ES). +(for Diffie-Hellman), `'ec'`, `'x448'`, or `'x25519'` (for ECDH). ### `crypto.hash(algorithm, data[, outputEncoding])`