mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
doc: clarify getAuthTag with authTagLength
Refs: https://github.com/nodejs/node/issues/40272 Refs: https://github.com/nodejs/node/pull/20235 PR-URL: https://github.com/nodejs/node/pull/40713 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
1d35950ee0
commit
dd601619d3
1 file changed
+3
@@ -551,6 +551,9 @@ added: v1.0.0
|
||||
The `cipher.getAuthTag()` method should only be called after encryption has
|
||||
been completed using the [`cipher.final()`][] method.
|
||||
|
||||
If the `authTagLength` option was set during the `cipher` instance's creation,
|
||||
this function will return exactly `authTagLength` bytes.
|
||||
|
||||
### `cipher.setAAD(buffer[, options])`
|
||||
|
||||
<!-- YAML
|
||||
|
||||
Reference in new issue
Block a user