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 c4fbdfa

Browse filesBrowse files
iamchenxinaddaleax
authored andcommitted
doc: fix typo for decipher.final.
The `output_encoding` parameter should be as the same as `decipher.update`. PR-URL: #10086 Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 7697aee commit c4fbdfa
Copy full SHA for c4fbdfa

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ added: v0.1.94
317317
-->
318318

319319
Returns any remaining deciphered contents. If `output_encoding`
320-
parameter is one of `'latin1'`, `'base64'` or `'hex'`, a string is returned.
320+
parameter is one of `'latin1'`, `'ascii'` or `'utf8'`, a string is returned.
321321
If an `output_encoding` is not provided, a [`Buffer`][] is returned.
322322

323323
Once the `decipher.final()` method has been called, the `Decipher` object can

0 commit comments

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