mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-09 18:32:54 +08:00
- chacha20-poly1305 refuses non-empty AAD once data has been processed (ERR_CRYPTO_INVALID_STATE); empty AAD is still accepted. - chacha20-poly1305 decryption without setAuthTag() succeeds when no authTagLength was passed, and is verified when one was. - Changing the output encoding of update() or final() throws ERR_INVALID_ARG_VALUE instead of ERR_INTERNAL_ASSERTION. - The ctsMode and xtsStandard options are validated in Node's order; the implemented ciphers report ERR_CRYPTO_UNSUPPORTED_OPERATION. - The list of known but unimplemented cipher names follows Node 24.22's getCiphers(), so the CBC-HMAC names are unknown ciphers.