doc: remove mention of ECDH-ES in crypto.diffieHellman

PR-URL: https://github.com/nodejs/node/pull/55611
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
Filip Skokan
2024-11-02 12:36:25 +00:00
committed by GitHub
parent 4bf5731fa8
commit ba8fc73131

View File

@@ -3563,7 +3563,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])`