xiebaomin 213d86429b updated 1 éve
..
modes 213d86429b updated 1 éve
.travis.yml 213d86429b updated 1 éve
LICENSE 213d86429b updated 1 éve
README.md 213d86429b updated 1 éve
aes.js 213d86429b updated 1 éve
authCipher.js 213d86429b updated 1 éve
browser.js 213d86429b updated 1 éve
decrypter.js 213d86429b updated 1 éve
encrypter.js 213d86429b updated 1 éve
ghash.js 213d86429b updated 1 éve
incr32.js 213d86429b updated 1 éve
index.js 213d86429b updated 1 éve
package.json 213d86429b updated 1 éve
streamCipher.js 213d86429b updated 1 éve

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.

Much of this library has been taken from the aes implementation in triplesec, a partial derivation of crypto-js.

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.

LICENSE MIT