caoge c760052ff9 机车状态修改 8 months ago
..
modes c760052ff9 机车状态修改 8 months ago
.travis.yml c760052ff9 机车状态修改 8 months ago
LICENSE c760052ff9 机车状态修改 8 months ago
README.md c760052ff9 机车状态修改 8 months ago
aes.js c760052ff9 机车状态修改 8 months ago
authCipher.js c760052ff9 机车状态修改 8 months ago
browser.js c760052ff9 机车状态修改 8 months ago
decrypter.js c760052ff9 机车状态修改 8 months ago
encrypter.js c760052ff9 机车状态修改 8 months ago
ghash.js c760052ff9 机车状态修改 8 months ago
incr32.js c760052ff9 机车状态修改 8 months ago
index.js c760052ff9 机车状态修改 8 months ago
package.json c760052ff9 机车状态修改 8 months ago
streamCipher.js c760052ff9 机车状态修改 8 months ago

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