Irina Glushko 2389e7160b HW1 done | %!s(int64=3) %!d(string=hai) anos | |
---|---|---|
.. | ||
modes | %!s(int64=3) %!d(string=hai) anos | |
.travis.yml | %!s(int64=3) %!d(string=hai) anos | |
LICENSE | %!s(int64=3) %!d(string=hai) anos | |
README.md | %!s(int64=3) %!d(string=hai) anos | |
aes.js | %!s(int64=3) %!d(string=hai) anos | |
authCipher.js | %!s(int64=3) %!d(string=hai) anos | |
browser.js | %!s(int64=3) %!d(string=hai) anos | |
decrypter.js | %!s(int64=3) %!d(string=hai) anos | |
encrypter.js | %!s(int64=3) %!d(string=hai) anos | |
ghash.js | %!s(int64=3) %!d(string=hai) anos | |
incr32.js | %!s(int64=3) %!d(string=hai) anos | |
index.js | %!s(int64=3) %!d(string=hai) anos | |
package.json | %!s(int64=3) %!d(string=hai) anos | |
streamCipher.js | %!s(int64=3) %!d(string=hai) anos |
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.