Skip to content

Commit 7051ea8

Browse files
Amery2010MylesBorins
authored andcommitted
doc: fix crypto "decipher.setAAD()" typo
PR-URL: #9782 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Italo A. Casas <me@italoacasas.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
1 parent 4b7200e commit 7051ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ added: v1.0.0
326326
-->
327327

328328
When using an authenticated encryption mode (only `GCM` is currently
329-
supported), the `cipher.setAAD()` method sets the value used for the
329+
supported), the `decipher.setAAD()` method sets the value used for the
330330
_additional authenticated data_ (AAD) input parameter.
331331

332332
### decipher.setAuthTag(buffer)

0 commit comments

Comments
 (0)