@@ -1779,8 +1779,8 @@ changes: |
1779 | 1779 | description: The default encoding for `password` if it is a string changed |
1780 | 1780 | from `binary` to `utf8`. |
1781 | 1781 | --> |
1782 | | -- `password` {string|Buffer|TypedArray} |
1783 | | -- `salt` {string|Buffer|TypedArray} |
| 1782 | +- `password` {string|Buffer|TypedArray|DataView} |
| 1783 | +- `salt` {string|Buffer|TypedArray|DataView} |
1784 | 1784 | - `iterations` {number} |
1785 | 1785 | - `keylen` {number} |
1786 | 1786 | - `digest` {string} |
@@ -1849,8 +1849,8 @@ changes: |
1849 | 1849 | description: The default encoding for `password` if it is a string changed |
1850 | 1850 | from `binary` to `utf8`. |
1851 | 1851 | --> |
1852 | | -- `password` {string|Buffer|TypedArray} |
1853 | | -- `salt` {string|Buffer|TypedArray} |
| 1852 | +- `password` {string|Buffer|TypedArray|DataView} |
| 1853 | +- `salt` {string|Buffer|TypedArray|DataView} |
1854 | 1854 | - `iterations` {number} |
1855 | 1855 | - `keylen` {number} |
1856 | 1856 | - `digest` {string} |
@@ -2147,8 +2147,8 @@ request. |
2147 | 2147 | <!-- YAML |
2148 | 2148 | added: v10.5.0 |
2149 | 2149 | --> |
2150 | | -- `password` {string|Buffer|TypedArray} |
2151 | | -- `salt` {string|Buffer|TypedArray} |
| 2150 | +- `password` {string|Buffer|TypedArray|DataView} |
| 2151 | +- `salt` {string|Buffer|TypedArray|DataView} |
2152 | 2152 | - `keylen` {number} |
2153 | 2153 | - `options` {Object} |
2154 | 2154 | - `N` {number} CPU/memory cost parameter. Must be a power of two greater |
@@ -2193,8 +2193,8 @@ crypto.scrypt('secret', 'salt', 64, { N: 1024 }, (err, derivedKey) => { |
2193 | 2193 | <!-- YAML |
2194 | 2194 | added: v10.5.0 |
2195 | 2195 | --> |
2196 | | -- `password` {string|Buffer|TypedArray} |
2197 | | -- `salt` {string|Buffer|TypedArray} |
| 2196 | +- `password` {string|Buffer|TypedArray|DataView} |
| 2197 | +- `salt` {string|Buffer|TypedArray|DataView} |
2198 | 2198 | - `keylen` {number} |
2199 | 2199 | - `options` {Object} |
2200 | 2200 | - `N` {number} CPU/memory cost parameter. Must be a power of two greater |
|