@li0ard/sp80038
Cipher modes according to NIST SP 800-38 in pure TypeScript
docs
Warning
This module contains only wrappers for encryption modes without reference to a specific cipher
# from NPM
npm i @li0ard/sp80038
# from JSR
bunx jsr i @li0ard/sp80038- Electronic Codebook (ECB)
- Cipher Block Chaining (CBC)
- Cipher Feedback (CFB)
- Counter (CTR)
- Output Feedback (OFB)
- CMAC
- Galois/Counter (GCM)
- Counter with CBC-MAC (CCM)
- Provides simple and modern API
- Most of the APIs are strictly typed
- Fully complies with NIST SP 800-38A and NIST SP 800-38B standards
- Supports Bun, Node.js, Deno, Browsers