Eric Foster d5378345de connection between front end and database | 6 jaren geleden | |
---|---|---|
.. | ||
modes | 6 jaren geleden | |
.travis.yml | 6 jaren geleden | |
LICENSE | 6 jaren geleden | |
README.md | 6 jaren geleden | |
aes.js | 6 jaren geleden | |
authCipher.js | 6 jaren geleden | |
browser.js | 6 jaren geleden | |
decrypter.js | 6 jaren geleden | |
encrypter.js | 6 jaren geleden | |
ghash.js | 6 jaren geleden | |
incr32.js | 6 jaren geleden | |
index.js | 6 jaren geleden | |
package.json | 6 jaren geleden | |
streamCipher.js | 6 jaren geleden |
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.