From cf350856cfd3099c0ee01aa1dd8dc5ab6ac6cdb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Thu, 28 Dec 2017 14:33:19 +0100 Subject: [PATCH] doc: note that setAuthTag throws on invalid length PR-URL: https://github.com/nodejs/node/pull/17825 Refs: https://github.com/nodejs/node/issues/17523 Reviewed-By: Ben Noordhuis Reviewed-By: Joyee Cheung Reviewed-By: James M Snell --- doc/api/crypto.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index b852058a56a8f3..b4ff52d89d6181 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -419,6 +419,9 @@ The `decipher.setAAD()` method must be called before [`decipher.update()`][].