diff options
author | Gerhard Stoebich <deb2001-github@yahoo.de> | 2018-06-26 23:43:01 +0200 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-06-28 21:33:42 +0300 |
commit | 42185730954dd2aaef9f7149b1bae03b3115e505 (patch) | |
tree | 0561336442c12354fd0db1196fb635c7651dfe07 /doc | |
parent | 2a875c3c6ffd5e7023d22990a4ba8e90c4cc1307 (diff) | |
download | android-node-v8-42185730954dd2aaef9f7149b1bae03b3115e505.tar.gz android-node-v8-42185730954dd2aaef9f7149b1bae03b3115e505.tar.bz2 android-node-v8-42185730954dd2aaef9f7149b1bae03b3115e505.zip |
doc: add DataView to appropriate crypto methods
crypto.scrypt(), crypto.scryptSync(),
crypto.pbkdf2(), and crypto.pbkdf2Sync()
support also DataView like most other crypto APIs.
PR-URL: https://github.com/nodejs/node/pull/21549
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/crypto.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 519a17aece..e3d069e101 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. <!-- YAML added: v10.5.0 --> -- `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) => { <!-- YAML added: v10.5.0 --> -- `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 |