Files
node/doc/api
Jonathan Buhacoff a9e4fdbd1b 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-11 09:27:12 -07:00
..
2020-05-05 19:17:26 +02:00
2020-04-28 23:00:44 +01:00
2020-04-28 23:00:44 +01:00
2020-04-28 23:00:44 +01:00
2020-04-28 23:00:44 +01:00
2020-04-21 11:58:34 +01:00
2020-03-02 04:07:33 +00:00
2020-05-11 09:24:22 -07:00
2020-04-28 23:00:44 +01:00
2020-05-11 09:24:37 -07:00
2020-05-04 14:24:03 +02:00
2020-04-29 16:41:52 +01:00
2019-10-03 15:21:26 -07:00
2020-04-28 23:00:44 +01:00
2020-03-29 22:43:53 +02:00
2020-04-28 23:00:44 +01:00
2020-04-28 23:00:44 +01:00
2020-04-28 23:00:44 +01:00
2020-04-29 16:41:52 +01:00
2019-10-26 08:39:41 -07:00
2020-04-28 23:00:44 +01:00
2020-04-28 23:00:44 +01:00