Skip to content

Commit c7cd400

Browse files
Amery2010addaleax
authored andcommitted
doc: fix crypto "decipher.setAAD()" typo
PR-URL: #9782 Reviewed-By: Brian White <[email protected]> Reviewed-By: Italo A. Casas <[email protected]> Reviewed-By: Sam Roberts <[email protected]>
1 parent 53d1752 commit c7cd400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ added: v1.0.0
330330
-->
331331

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

336336
Returns `this` for method chaining.

0 commit comments

Comments
 (0)