TransFlow/node_modules/browserify-aes
何嘉峣 d0b8157bbe 代码提交 2022-12-15 10:56:04 +08:00
..
modes 代码提交 2022-12-15 10:56:04 +08:00
.travis.yml 代码提交 2022-12-15 10:56:04 +08:00
LICENSE 代码提交 2022-12-15 10:56:04 +08:00
README.md 代码提交 2022-12-15 10:56:04 +08:00
aes.js 代码提交 2022-12-15 10:56:04 +08:00
authCipher.js 代码提交 2022-12-15 10:56:04 +08:00
browser.js 代码提交 2022-12-15 10:56:04 +08:00
decrypter.js 代码提交 2022-12-15 10:56:04 +08:00
encrypter.js 代码提交 2022-12-15 10:56:04 +08:00
ghash.js 代码提交 2022-12-15 10:56:04 +08:00
incr32.js 代码提交 2022-12-15 10:56:04 +08:00
index.js 代码提交 2022-12-15 10:56:04 +08:00
package.json 代码提交 2022-12-15 10:56:04 +08:00
streamCipher.js 代码提交 2022-12-15 10:56:04 +08:00

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