Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3de1fc6

Browse filesBrowse files
BridgeARtargos
authored andcommitted
doc: document that iv may be null when using createCipheriv()
This adds `null` to the supported types of the `iv` option when using `crypto.createCipheriv()`. PR-URL: #29684 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 04df7db commit 3de1fc6
Copy full SHA for 3de1fc6

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1643,7 +1643,7 @@ changes:
16431643

16441644
* `algorithm` {string}
16451645
* `key` {string | Buffer | TypedArray | DataView | KeyObject}
1646-
* `iv` {string | Buffer | TypedArray | DataView}
1646+
* `iv` {string | Buffer | TypedArray | DataView | null}
16471647
* `options` {Object} [`stream.transform` options][]
16481648
* Returns: {Cipher}
16491649

@@ -1737,7 +1737,7 @@ changes:
17371737

17381738
* `algorithm` {string}
17391739
* `key` {string | Buffer | TypedArray | DataView}
1740-
* `iv` {string | Buffer | TypedArray | DataView}
1740+
* `iv` {string | Buffer | TypedArray | DataView | null}
17411741
* `options` {Object} [`stream.transform` options][]
17421742
* Returns: {Decipher}
17431743

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.