Skip to content

Commit

Permalink
doc: fix crypto "decipher.setAAD()" typo
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Amery2010 authored and MylesBorins committed Dec 20, 2016
1 parent dc4c348 commit eb5972f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,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)
Expand Down

0 comments on commit eb5972f

Please sign in to comment.