diff options
author | Tobias Nießen <tniessen@tnie.de> | 2019-12-09 08:23:44 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2019-12-13 18:50:39 +0300 |
commit | df9df1883ebb0747713d41183f370f5954b710b9 (patch) | |
tree | cc11c875f8145cf02dab048026b9a6e34d06a6d8 /doc/api | |
parent | d90815d08e2b7e6de2d4f677875e692a81374d73 (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.md | 2 |
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. |