From 0aab8ff602d85feb8e92e80e7cddcbbd49597219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 11 Apr 2018 15:15:25 +0200 Subject: [PATCH] doc: remove superfluous word from crypto doc PR-URL: https://github.com/nodejs/node/pull/19946 Reviewed-By: Ruben Bridgewater Reviewed-By: Anatoli Papirovski Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Vse Mozhet Byt Reviewed-By: Trivikram Kamat --- doc/api/crypto.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index bd6cc032916..d2e94838f45 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -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