From 1ef08483812e42f042edcb71a076d7e811567ead 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 1/2] doc: remove superfluous word from crypto doc --- doc/api/crypto.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index ea38da218a119f..c01a3df8bcb1ae 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 From f6d0fea9644ce855b49a3ed8e245b14a2e0f2041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 11 Apr 2018 17:18:31 +0200 Subject: [PATCH 2/2] fixup! doc: remove superfluous word from crypto doc --- doc/api/crypto.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index c01a3df8bcb1ae..242a5064453ef7 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -391,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