File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3630,7 +3630,7 @@ Computes the Diffie-Hellman secret based on a `privateKey` and a `publicKey`.
36303630Both keys must have the same ` asymmetricKeyType ` , which must be one of ` 'dh' `
36313631(for Diffie-Hellman), ` 'ec' ` (for ECDH), ` 'x448' ` , or ` 'x25519' ` (for ECDH-ES).
36323632
3633- ### ` crypto.hash(algorith , data[, outputEncoding]) `
3633+ ### ` crypto.hash(algorithm , data[, outputEncoding]) `
36343634
36353635<!-- YAML
36363636added:
@@ -3640,7 +3640,7 @@ added:
36403640> Stability: 1.2 - Release candidate
36413641
36423642* ` algorithm ` {string|undefined}
3643- * ` data ` {string|ArrayBuffer| Buffer|TypedArray|DataView} When ` data ` is a
3643+ * ` data ` {string|Buffer|TypedArray|DataView} When ` data ` is a
36443644 string, it will be encoded as UTF-8 before being hashed. If a different
36453645 input encoding is desired for a string input, user could encode the string
36463646 into a ` TypedArray ` using either ` TextEncoder ` or ` Buffer.from() ` and passing
You can’t perform that action at this time.
0 commit comments