caoge c760052ff9 机车状态修改 | hai 8 meses | |
---|---|---|
.. | ||
modes | hai 8 meses | |
.travis.yml | hai 8 meses | |
LICENSE | hai 8 meses | |
README.md | hai 8 meses | |
aes.js | hai 8 meses | |
authCipher.js | hai 8 meses | |
browser.js | hai 8 meses | |
decrypter.js | hai 8 meses | |
encrypter.js | hai 8 meses | |
ghash.js | hai 8 meses | |
incr32.js | hai 8 meses | |
index.js | hai 8 meses | |
package.json | hai 8 meses | |
streamCipher.js | hai 8 meses |
Node style aes for use in the browser. Implements:
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.