JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2048066
  • Score
    100M100P100Q194964F
  • License MIT

A pure JavaScript implementation of the AES block cipher and all common modes of operation.

Package Exports

  • aes-js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (aes-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

AES-JS

A pure JavaScript implementation of the AES block cipher algorithm and all common modes of operation (CBC, CFB, CTR, ECB and OFB).

Features

  • Pure JavaScript (with no dependencies)
  • Supports all key sizes (128-bit, 192-bit and 256-bit)
  • Supports all common modes of operation (CBC, CFB, CTR, ECB and OFB)

API

All keys must be 128 bits (16 bytes), 192 bits (24 bytes) or 256 bits (32 bytes) long. The API's work on either arrays or Buffer objects.

Common Modes of Operation

Coming soon...

Block Cipher

Coming soon...