Skip to content

li0ard/sp80038

Repository files navigation

@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

Installation

# from NPM
npm i @li0ard/sp80038

# from JSR
bunx jsr i @li0ard/sp80038

Supported modes

  • Electronic Codebook (ECB)
  • Cipher Block Chaining (CBC)
  • Cipher Feedback (CFB)
  • Counter (CTR)
  • Output Feedback (OFB)
  • CMAC
  • Galois/Counter (GCM)
  • Counter with CBC-MAC (CCM)

Features

  • 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

About

Cipher modes according to NIST SP 800-38 in pure TypeScript

Topics

Resources

License

Stars

Watchers

Forks

Contributors