Skip to content

Commit c4fbdfa

Browse 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 <[email protected]>
1 parent 7697aee commit c4fbdfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.md

+1-1
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)