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 @@ -3510,7 +3510,7 @@ Computes the Diffie-Hellman secret based on a `privateKey` and a `publicKey`.
35103510Both keys must have the same ` asymmetricKeyType ` , which must be one of ` 'dh' `
35113511(for Diffie-Hellman), ` 'ec' ` (for ECDH), ` 'x448' ` , or ` 'x25519' ` (for ECDH-ES).
35123512
3513- ### ` crypto.hash(algorith , data[, outputEncoding]) `
3513+ ### ` crypto.hash(algorithm , data[, outputEncoding]) `
35143514
35153515<!-- YAML
35163516added:
@@ -3520,7 +3520,7 @@ added:
35203520> Stability: 1.2 - Release candidate
35213521
35223522* ` algorithm ` {string|undefined}
3523- * ` data ` {string|ArrayBuffer| Buffer|TypedArray|DataView} When ` data ` is a
3523+ * ` data ` {string|Buffer|TypedArray|DataView} When ` data ` is a
35243524 string, it will be encoded as UTF-8 before being hashed. If a different
35253525 input encoding is desired for a string input, user could encode the string
35263526 into a ` TypedArray ` using either ` TextEncoder ` or ` Buffer.from() ` and passing
You can’t perform that action at this time.
0 commit comments