Skip to content

Commit eb5972f

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 dc4c348 commit eb5972f

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
@@ -311,7 +311,7 @@ added: v1.0.0
311311
-->
312312

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

317317
### decipher.setAuthTag(buffer)

0 commit comments

Comments
 (0)