diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 525efc01b8e042..b203ca1377865c 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1776,8 +1776,8 @@ changes: description: The default encoding for `password` if it is a string changed from `binary` to `utf8`. --> -- `password` {string|Buffer|TypedArray} -- `salt` {string|Buffer|TypedArray} +- `password` {string|Buffer|TypedArray|DataView} +- `salt` {string|Buffer|TypedArray|DataView} - `iterations` {number} - `keylen` {number} - `digest` {string} @@ -1846,8 +1846,8 @@ changes: description: The default encoding for `password` if it is a string changed from `binary` to `utf8`. --> -- `password` {string|Buffer|TypedArray} -- `salt` {string|Buffer|TypedArray} +- `password` {string|Buffer|TypedArray|DataView} +- `salt` {string|Buffer|TypedArray|DataView} - `iterations` {number} - `keylen` {number} - `digest` {string} @@ -2144,8 +2144,8 @@ request. -- `password` {string|Buffer|TypedArray} -- `salt` {string|Buffer|TypedArray} +- `password` {string|Buffer|TypedArray|DataView} +- `salt` {string|Buffer|TypedArray|DataView} - `keylen` {number} - `options` {Object} - `N` {number} CPU/memory cost parameter. Must be a power of two greater @@ -2190,8 +2190,8 @@ crypto.scrypt('secret', 'salt', 64, { N: 1024 }, (err, derivedKey) => { -- `password` {string|Buffer|TypedArray} -- `salt` {string|Buffer|TypedArray} +- `password` {string|Buffer|TypedArray|DataView} +- `salt` {string|Buffer|TypedArray|DataView} - `keylen` {number} - `options` {Object} - `N` {number} CPU/memory cost parameter. Must be a power of two greater