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