Tennessee Gibbs 0304752480 added pages to master | 6 years ago | |
---|---|---|
.. | ||
modes | 6 years ago | |
.travis.yml | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
aes.js | 6 years ago | |
authCipher.js | 6 years ago | |
browser.js | 6 years ago | |
decrypter.js | 6 years ago | |
encrypter.js | 6 years ago | |
ghash.js | 6 years ago | |
incr32.js | 6 years ago | |
index.js | 6 years ago | |
package.json | 6 years ago | |
streamCipher.js | 6 years ago |
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.