deno
6d084821 - fix(ext/node): support des-ede3-cbc cipher and allow Cipheriv/Decipheriv without new (#32519)

Commit
192 days ago
fix(ext/node): support des-ede3-cbc cipher and allow Cipheriv/Decipheriv without new (#32519) ## Summary - Add `des` crate and implement `des-ede3-cbc` (Triple DES CBC) cipher for both encrypt and decrypt paths in `ext/node_crypto` - Convert `Cipheriv`/`Decipheriv` from ES6 classes to function constructors so they can be called without `new` (Node.js compat) - Make `BlockModeCache` block size configurable (8 for DES, 16 for AES) - Add argument validation for `createCipheriv`/`createDecipheriv` (`ERR_INVALID_ARG_TYPE`) - Enable `test-crypto-classes.js` and `test-crypto-cipheriv-decipheriv.js` (with expected failure for missing ECB IV validation) --------- Signed-off-by: Bartek IwaƄczuk <biwanczuk@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Author
Parents
Loading