Skip to content

Commit 0071560

Browse files
tniessengibfahn
authored andcommitted
doc: fix description of createDecipheriv
PR-URL: #18651 Refs: #12223 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
1 parent 9ac91b1 commit 0071560

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
@@ -1289,8 +1289,8 @@ recent OpenSSL releases, `openssl list-cipher-algorithms` will display the
12891289
available cipher algorithms.
12901290

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

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

0 commit comments

Comments
 (0)