Andrea Fazzi 994369ab61 First commit преди 7 години
..
modes 994369ab61 First commit преди 7 години
.eslintrc 994369ab61 First commit преди 7 години
.npmignore 994369ab61 First commit преди 7 години
.travis.yml 994369ab61 First commit преди 7 години
LICENSE 994369ab61 First commit преди 7 години
aes.js 994369ab61 First commit преди 7 години
authCipher.js 994369ab61 First commit преди 7 години
browser.js 994369ab61 First commit преди 7 години
decrypter.js 994369ab61 First commit преди 7 години
encrypter.js 994369ab61 First commit преди 7 години
ghash.js 994369ab61 First commit преди 7 години
index.js 994369ab61 First commit преди 7 години
modes.js 994369ab61 First commit преди 7 години
package.json 994369ab61 First commit преди 7 години
populateFixtures.js 994369ab61 First commit преди 7 години
readme.md 994369ab61 First commit преди 7 години
streamCipher.js 994369ab61 First commit преди 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.