From 3ae37b22bb905589781d8d25f2d778f3dac7da1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Thu, 28 Dec 2017 13:00:03 +0100 Subject: [PATCH] doc: fix typo PR-URL: https://github.com/nodejs/node/pull/17900 Reviewed-By: Gibson Fahnestock Reviewed-By: Ruben Bridgewater Reviewed-By: Colin Ihrig --- doc/api/crypto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 6a340254ed8889..644ebbeb56cbfd 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -368,7 +368,7 @@ changes: When using an authenticated encryption mode (only `GCM` is currently supported), the `decipher.setAuthTag()` method is used to pass in the received _authentication tag_. If no tag is provided, or if the cipher text -has been tampered with, [`decipher.final()`][] with throw, indicating that the +has been tampered with, [`decipher.final()`][] will throw, indicating that the cipher text should be discarded due to failed authentication. The `decipher.setAuthTag()` method must be called before