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: nodejs#55611
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
  • Loading branch information
panva authored and louwers committed Nov 2, 2024
1 parent a6e5446 commit 52dec71
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 52dec71

Please sign in to comment.