vlad 6f123ff03e 18.07 | 6 lat temu | |
---|---|---|
.. | ||
modes | 6 lat temu | |
.travis.yml | 6 lat temu | |
LICENSE | 6 lat temu | |
README.md | 6 lat temu | |
aes.js | 6 lat temu | |
authCipher.js | 6 lat temu | |
browser.js | 6 lat temu | |
decrypter.js | 6 lat temu | |
encrypter.js | 6 lat temu | |
ghash.js | 6 lat temu | |
incr32.js | 6 lat temu | |
index.js | 6 lat temu | |
package.json | 6 lat temu | |
streamCipher.js | 6 lat temu |
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.