caoge c760052ff9 机车状态修改 | 8 月之前 | |
---|---|---|
.. | ||
modes | 8 月之前 | |
.travis.yml | 8 月之前 | |
LICENSE | 8 月之前 | |
README.md | 8 月之前 | |
aes.js | 8 月之前 | |
authCipher.js | 8 月之前 | |
browser.js | 8 月之前 | |
decrypter.js | 8 月之前 | |
encrypter.js | 8 月之前 | |
ghash.js | 8 月之前 | |
incr32.js | 8 月之前 | |
index.js | 8 月之前 | |
package.json | 8 月之前 | |
streamCipher.js | 8 月之前 |
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.