Skip to content

Commit affddd3

Browse files
tniessenMylesBorins
authored andcommitted
doc: fix description of createDecipheriv
PR-URL: #18651 Refs: #12223 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
1 parent 2089814 commit affddd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/crypto.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1343,8 +1343,8 @@ recent OpenSSL releases, `openssl list-cipher-algorithms` will display the
13431343
available cipher algorithms.
13441344

13451345
The `key` is the raw key used by the `algorithm` and `iv` is an
1346-
[initialization vector][]. Both arguments must be `'utf8'` encoded strings or
1347-
[buffers][`Buffer`].
1346+
[initialization vector][]. Both arguments must be `'utf8'` encoded strings,
1347+
[Buffers][`Buffer`], `TypedArray`, or `DataView`s.
13481348

13491349
### crypto.createDiffieHellman(prime[, primeEncoding][, generator][, generatorEncoding])
13501350
<!-- YAML

0 commit comments

Comments
 (0)