Files
node/doc/api
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
..
2026-07-08 11:48:20 +00:00
2026-05-21 14:13:05 -07:00
2026-07-18 10:18:51 +00:00
2026-07-08 13:24:50 +00:00
2026-07-10 16:53:10 +00:00
2026-05-23 18:43:31 +00:00
2025-12-16 20:31:28 +00:00
2026-07-13 12:34:05 +02:00
2025-07-15 17:18:42 +00:00
2026-07-18 12:59:37 -07:00
2026-07-13 12:34:05 +02:00
2025-06-09 23:45:29 +02:00
2026-06-20 16:14:30 +09:00