From 7051ea8606bdd9eb1466f7710154abb05bc5111c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=90=E4=B8=B6=E8=A8=80?= Date: Thu, 24 Nov 2016 16:28:02 +0800 Subject: [PATCH] doc: fix crypto "decipher.setAAD()" typo PR-URL: https://github.com/nodejs/node/pull/9782 Reviewed-By: Brian White Reviewed-By: Italo A. Casas Reviewed-By: Sam Roberts --- 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 290d0429d3..2eda378520 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -326,7 +326,7 @@ added: v1.0.0 --> When using an authenticated encryption mode (only `GCM` is currently -supported), the `cipher.setAAD()` method sets the value used for the +supported), the `decipher.setAAD()` method sets the value used for the _additional authenticated data_ (AAD) input parameter. ### decipher.setAuthTag(buffer)