Files
node/doc/api
Jonathan Buhacoff d135b508e9 doc: correct description of decipher.setAuthTag in crypto.md
Calling `decipher.setAuthTag` after `decipher.update` will result in
an error like `Unsupported state or unable to authenticate data`.
The example code in
[CCM mode](https://nodejs.org/docs/latest-v14.x/api/crypto.html#crypto_ccm_mode)
is correct, but to demonstrate the mistake in the documentation you
can take the same example and move the `setAuthTag` call to in between
`update` and `final` you will see the error.
2020-05-08 01:37:26 +02:00
..
2020-05-05 20:24:37 +02:00
2020-04-28 15:23:46 +02:00
2020-04-30 00:24:31 +02:00
2020-04-28 15:23:46 +02:00
2020-04-28 15:23:46 +02:00
2020-04-14 20:22:41 +02:00
2020-03-02 04:07:33 +00:00
2020-05-08 01:02:19 +02:00
2020-04-28 15:23:46 +02:00
2020-05-08 01:10:36 +02:00
2020-05-04 06:30:00 +02:00
2020-04-30 00:24:31 +02:00
2019-10-03 15:21:26 -07:00
2020-04-28 15:23:46 +02:00
2020-03-29 22:43:53 +02:00
2020-04-28 15:23:46 +02:00
2020-04-28 15:23:46 +02:00
2020-04-28 15:23:46 +02:00
2020-04-30 00:24:31 +02:00
2019-10-26 08:39:41 -07:00
2020-04-28 15:23:46 +02:00
2020-04-28 15:23:46 +02:00