From 9fc9bb1c091d3328a1330589743bd0d5ed5e9210 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 7b7a5b1f5dfa2e..cc9838e9625bb5 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -422,7 +422,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