mirror of
https://github.com/nodejs/node.git
synced 2025-05-02 13:11:36 +00: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:
parent
1d35950ee0
commit
dd601619d3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user