Kevin 29b9a0c50c clean && clean html base | 4 years ago | |
---|---|---|
.. | ||
modes | 4 years ago | |
.travis.yml | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
aes.js | 4 years ago | |
authCipher.js | 4 years ago | |
browser.js | 4 years ago | |
decrypter.js | 4 years ago | |
encrypter.js | 4 years ago | |
ghash.js | 4 years ago | |
incr32.js | 4 years ago | |
index.js | 4 years ago | |
package.json | 4 years ago | |
streamCipher.js | 4 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.