diff --git a/doc/api/crypto.md b/doc/api/crypto.md index dc896133e2165e..8d8ef309ae73ea 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -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])`