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.