Files
node/lib
Archkon 6af3ddaf5c crypto: use user-facing error for output encoding changes
Replace the internal assertion with ERR_INVALID_ARG_VALUE when the
output encoding changes between Cipher or Decipher calls. Document the
encoding requirement and update the corresponding tests.

Signed-off-by: Archkon <180910180+Archkon@users.noreply.github.com>
PR-URL: https://github.com/nodejs/node/pull/64692
Fixes: https://github.com/nodejs/node/issues/64689
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Aviv Keller <me@aviv.sh>
2026-07-25 19:30:24 +00:00
..
2020-02-18 22:15:50 -08:00
2026-07-05 08:04:44 +00:00
2020-10-21 01:26:34 +02:00
2026-04-05 10:12:21 +00:00
2026-06-21 19:42:03 +00:00
2026-05-31 12:49:51 -07:00
2026-07-20 05:24:57 +00:00
2024-01-12 16:09:48 +00:00
2025-12-10 16:12:28 +00:00
2025-12-22 16:14:46 +00:00
2026-07-18 12:59:37 -07:00
2025-09-04 11:58:50 +00:00
2026-02-21 16:30:23 +00:00
2026-04-01 10:09:41 +00:00
2026-04-26 19:36:36 +00:00
2026-05-23 18:43:31 +00:00
2025-08-05 13:45:41 +00:00