diff options
author | Tobias Nießen <tniessen@tnie.de> | 2019-12-09 08:23:44 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-12-12 18:03:40 +0300 |
commit | d776992f1f80312ec3cfdfbb74c610c22e92c886 (patch) | |
tree | f705fb30536caa11f1c8937805182d5590cd8b76 /doc | |
parent | 73df09e66bb54764817de3f87154bdbc8e391a23 (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')
-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 84b67ebdd3c..db3f2767c24 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. |