@li0ard/sp80038 - v0.1.2
@li0ard/sp80038
Cipher modes according to NIST SP 800-38 (and not only)
docs
Warning
This module contains only wrappers for encryption modes without reference to a specific cipher
Installation
# from NPM
npm i @li0ard/sp80038
# from JSR
bunx jsr i @li0ard/sp80038
Supported modes (NIST standardized)
- [x] Cipher Block Chaining (CBC)
- [x] Counter with CBC-MAC (CCM)
- [x] Cipher Feedback (CFB)
- [x] CMAC
- [x] Counter (CTR)
- [x] Electronic Codebook (ECB)
- [x] Galois/Counter (GCM)
- [x] Key wrap (KW/KWP)
- [x] Output Feedback (OFB)
Supported modes (Not NIST standardized)
- [x] Infinite Garble Extension (IGE), described here
- [x] Synthetic Initialization Vector (SIV), RFC 5297
Features