caipin 262030214c cld2_react构建中 5 years ago
..
modes 262030214c cld2_react构建中 5 years ago
.travis.yml 262030214c cld2_react构建中 5 years ago
LICENSE 262030214c cld2_react构建中 5 years ago
README.md 262030214c cld2_react构建中 5 years ago
aes.js 262030214c cld2_react构建中 5 years ago
authCipher.js 262030214c cld2_react构建中 5 years ago
browser.js 262030214c cld2_react构建中 5 years ago
decrypter.js 262030214c cld2_react构建中 5 years ago
encrypter.js 262030214c cld2_react构建中 5 years ago
ghash.js 262030214c cld2_react构建中 5 years ago
incr32.js 262030214c cld2_react构建中 5 years ago
index.js 262030214c cld2_react构建中 5 years ago
package.json 262030214c cld2_react构建中 5 years ago
streamCipher.js 262030214c cld2_react构建中 5 years 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