Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2019-12-09 08:23:44 +0300
committerMyles Borins <mylesborins@google.com>2019-12-13 18:50:39 +0300
commitdf9df1883ebb0747713d41183f370f5954b710b9 (patch)
treecc11c875f8145cf02dab048026b9a6e34d06a6d8 /doc/api
parentd90815d08e2b7e6de2d4f677875e692a81374d73 (diff)
doc: fix argument type of setAAD
PR-URL: https://github.com/nodejs/node/pull/30863 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/crypto.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md
index 6bf1dcea365..5de68740aa3 100644
--- a/doc/api/crypto.md
+++ b/doc/api/crypto.md
@@ -284,7 +284,7 @@ once will result in an error being thrown.
added: v1.0.0
-->
-* `buffer` {Buffer}
+* `buffer` {Buffer | TypedArray | DataView}
* `options` {Object} [`stream.transform` options][]
* `plaintextLength` {number}
* Returns: {Cipher} for method chaining.