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