From c7cd400fcb8c7111618fa779ffa9bbdb83fed705 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 62588bfa43..9526e06353 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -330,7 +330,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. Returns `this` for method chaining.