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