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