Skip to content

Commit 4aa3de8

Browse files
tniessenaduh95
andauthored
Update doc/api/crypto.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent a5dbbe4 commit 4aa3de8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/api/crypto.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -966,8 +966,9 @@ Because the `node:crypto` module was originally designed to closely mirror
966966
OpenSSL's behavior, this function permits short GCM authentication tags unless
967967
an explicit authentication tag length was passed to
968968
[`crypto.createDecipheriv()`][] when the `decipher` object was created. This
969-
behavior is deprecated and subject to change (see [DEP0182][]). <strong class="critical">In the meantime, applications should either set the
970-
`authTagLength` option when calling `createDecipheriv()` or check the actual
969+
behavior is deprecated and subject to change (see [DEP0182][]). <strong class="critical">
970+
In the meantime, applications should either set the `authTagLength` option when
971+
calling `createDecipheriv()` or check the actual
971972
authentication tag length before passing it to `setAuthTag()`.</strong>
972973

973974
When passing a string as the authentication tag, please consider

0 commit comments

Comments
 (0)