peach a19a732be8 commit message | il y a 2 ans | |
---|---|---|
.. | ||
modes | il y a 2 ans | |
.travis.yml | il y a 2 ans | |
LICENSE | il y a 2 ans | |
README.md | il y a 2 ans | |
aes.js | il y a 2 ans | |
authCipher.js | il y a 2 ans | |
browser.js | il y a 2 ans | |
decrypter.js | il y a 2 ans | |
encrypter.js | il y a 2 ans | |
ghash.js | il y a 2 ans | |
incr32.js | il y a 2 ans | |
index.js | il y a 2 ans | |
package.json | il y a 2 ans | |
streamCipher.js | il y a 2 ans |
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.