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