Skip to content
aes, for browserify
JavaScript
Branch: master
Clone or download
dcousens and calvinmetcalf add LICENSE amendments as suggested (#59)
* add LICENSE amendments as suggested

* Add SJCL BSD-2 inline and GPL-2 inline as per SJCL

* update README to reflect LICENSE(s)

* fix formatting

* more fixes

* update SPDX license
Latest commit e107f57 Oct 1, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bench reduce buffer creation for ctr mode Aug 18, 2017
modes
scripts
test
.gitignore package: use buffer-xor May 21, 2015
.npmignore
.travis.yml
LICENSE
README.md
aes.js
authCipher.js
browser.js mv modes to modes/index.js May 27, 2017
decrypter.js
encrypter.js
ghash.js
incr32.js fix variable length iv issue in gcm Oct 10, 2017
index.js
package.json
streamCipher.js no un-instanced new Jun 16, 2017

README.md

browserify-aes

Build Status

Node style aes for use in the browser. Implements:

  • createCipher
  • createCipheriv
  • createDecipher
  • createDecipheriv
  • getCiphers

In node.js, the crypto implementation is used, in browsers it falls back to a pure JavaScript implementation.

EVP_BytesToKey is a straight up port of the same function from OpenSSL as there is literally no documenation on it beyond it using 'undocumented extensions' for longer keys.

LICENSES

Much of this library has been taken from the AES implementation in triplesec (apparently licensed MIT), which is a partial derivation of crypto-js, which is licensed BSD-3 clause, the relevant LICENSE text for both MIT and BSD-3 can be found in LICENSE.

Parts of ghash.js are a partial derivation of work by Juho Vähä-Herttua in SJCL, which is LICENSED BSD-2 || GPL-2, with the LICENSE text included inline in ghash.js.

You can’t perform that action at this time.