mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
doc: remove superfluous word from crypto doc
PR-URL: https://github.com/nodejs/node/pull/19946 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
1 parent
a9845512d7
commit
0aab8ff602
1 file changed
+4
-6
+4
-6
@@ -233,9 +233,8 @@ added: v0.1.94
|
||||
-->
|
||||
- `outputEncoding` {string}
|
||||
- Returns: {Buffer | string} Any remaining enciphered contents.
|
||||
If `outputEncoding` parameter is one of `'latin1'`, `'base64'` or `'hex'`,
|
||||
a string is returned. If an `outputEncoding` is not provided, a [`Buffer`][]
|
||||
is returned.
|
||||
If `outputEncoding` is one of `'latin1'`, `'base64'` or `'hex'`, a string is
|
||||
returned. If an `outputEncoding` is not provided, a [`Buffer`][] is returned.
|
||||
|
||||
Once the `cipher.final()` method has been called, the `Cipher` object can no
|
||||
longer be used to encrypt data. Attempts to call `cipher.final()` more than
|
||||
@@ -392,9 +391,8 @@ added: v0.1.94
|
||||
-->
|
||||
- `outputEncoding` {string}
|
||||
- Returns: {Buffer | string} Any remaining deciphered contents.
|
||||
If `outputEncoding` parameter is one of `'latin1'`, `'ascii'` or `'utf8'`,
|
||||
a string is returned. If an `outputEncoding` is not provided, a [`Buffer`][]
|
||||
is returned.
|
||||
If `outputEncoding` is one of `'latin1'`, `'ascii'` or `'utf8'`, a string is
|
||||
returned. If an `outputEncoding` is not provided, a [`Buffer`][] is returned.
|
||||
|
||||
Once the `decipher.final()` method has been called, the `Decipher` object can
|
||||
no longer be used to decrypt data. Attempts to call `decipher.final()` more
|
||||
|
||||
Reference in new issue
Block a user