huanggang 03a863fb53 add node_modules 7 年之前
..
modes 03a863fb53 add node_modules 7 年之前
.eslintrc 03a863fb53 add node_modules 7 年之前
.npmignore 03a863fb53 add node_modules 7 年之前
.travis.yml 03a863fb53 add node_modules 7 年之前
LICENSE 03a863fb53 add node_modules 7 年之前
aes.js 03a863fb53 add node_modules 7 年之前
authCipher.js 03a863fb53 add node_modules 7 年之前
browser.js 03a863fb53 add node_modules 7 年之前
decrypter.js 03a863fb53 add node_modules 7 年之前
encrypter.js 03a863fb53 add node_modules 7 年之前
ghash.js 03a863fb53 add node_modules 7 年之前
index.js 03a863fb53 add node_modules 7 年之前
modes.js 03a863fb53 add node_modules 7 年之前
package.json 03a863fb53 add node_modules 7 年之前
populateFixtures.js 03a863fb53 add node_modules 7 年之前
readme.md 03a863fb53 add node_modules 7 年之前
streamCipher.js 03a863fb53 add node_modules 7 年之前

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.