Irina Glushko 2389e7160b HW1 done | 3 anos atrás | |
---|---|---|
.. | ||
modes | 3 anos atrás | |
.travis.yml | 3 anos atrás | |
LICENSE | 3 anos atrás | |
README.md | 3 anos atrás | |
aes.js | 3 anos atrás | |
authCipher.js | 3 anos atrás | |
browser.js | 3 anos atrás | |
decrypter.js | 3 anos atrás | |
encrypter.js | 3 anos atrás | |
ghash.js | 3 anos atrás | |
incr32.js | 3 anos atrás | |
index.js | 3 anos atrás | |
package.json | 3 anos atrás | |
streamCipher.js | 3 anos atrás |
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.