wallet-core/node_modules/browserify-aes
2017-05-03 15:35:00 +02:00
..
modes node_modules 2017-05-03 15:35:00 +02:00
.eslintrc node_modules 2017-05-03 15:35:00 +02:00
.npmignore node_modules 2017-05-03 15:35:00 +02:00
.travis.yml node_modules 2017-05-03 15:35:00 +02:00
aes.js node_modules 2017-05-03 15:35:00 +02:00
authCipher.js node_modules 2017-05-03 15:35:00 +02:00
browser.js node_modules 2017-05-03 15:35:00 +02:00
decrypter.js node_modules 2017-05-03 15:35:00 +02:00
encrypter.js node_modules 2017-05-03 15:35:00 +02:00
ghash.js node_modules 2017-05-03 15:35:00 +02:00
index.js node_modules 2017-05-03 15:35:00 +02:00
LICENSE node_modules 2017-05-03 15:35:00 +02:00
modes.js node_modules 2017-05-03 15:35:00 +02:00
package.json node_modules 2017-05-03 15:35:00 +02:00
populateFixtures.js node_modules 2017-05-03 15:35:00 +02:00
readme.md node_modules 2017-05-03 15:35:00 +02:00
streamCipher.js node_modules 2017-05-03 15:35:00 +02:00

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.