sensordb2 e64a8defe5 3.17 | il y a 1 an | |
---|---|---|
.. | ||
modes | il y a 1 an | |
.travis.yml | il y a 1 an | |
LICENSE | il y a 1 an | |
README.md | il y a 1 an | |
aes.js | il y a 1 an | |
authCipher.js | il y a 1 an | |
browser.js | il y a 1 an | |
decrypter.js | il y a 1 an | |
encrypter.js | il y a 1 an | |
ghash.js | il y a 1 an | |
incr32.js | il y a 1 an | |
index.js | il y a 1 an | |
package.json | il y a 1 an | |
streamCipher.js | il y a 1 an |
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.