Skip to content

Commit

Permalink
doc: remove mention of ECDH-ES in crypto.diffieHellman
Browse files Browse the repository at this point in the history
PR-URL: #55611
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
panva authored Nov 2, 2024
1 parent 4bf5731 commit ba8fc73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -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])`

Expand Down

0 comments on commit ba8fc73

Please sign in to comment.