doc: fix description of createDecipheriv
PR-URL: https://github.com/nodejs/node/pull/18651 Refs: https://github.com/nodejs/node/pull/12223 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
This commit is contained in:
parent
fe442f6b5f
commit
4927d94f4d
@ -1359,8 +1359,8 @@ recent OpenSSL releases, `openssl list-cipher-algorithms` will display the
|
|||||||
available cipher algorithms.
|
available cipher algorithms.
|
||||||
|
|
||||||
The `key` is the raw key used by the `algorithm` and `iv` is an
|
The `key` is the raw key used by the `algorithm` and `iv` is an
|
||||||
[initialization vector][]. Both arguments must be `'utf8'` encoded strings or
|
[initialization vector][]. Both arguments must be `'utf8'` encoded strings,
|
||||||
[buffers][`Buffer`].
|
[Buffers][`Buffer`], `TypedArray`, or `DataView`s.
|
||||||
|
|
||||||
### crypto.createDiffieHellman(prime[, primeEncoding][, generator][, generatorEncoding])
|
### crypto.createDiffieHellman(prime[, primeEncoding][, generator][, generatorEncoding])
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
|
Loading…
x
Reference in New Issue
Block a user