diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 4c0e78a25c921a..21b680f04dc2d9 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -3510,7 +3510,7 @@ 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). -### `crypto.hash(algorith, data[, outputEncoding])` +### `crypto.hash(algorithm, data[, outputEncoding])`