Daniel Hübleitner 615619e6e7 start werk | il y a 5 ans | |
---|---|---|
.. | ||
modes | il y a 5 ans | |
.travis.yml | il y a 5 ans | |
LICENSE | il y a 5 ans | |
README.md | il y a 5 ans | |
aes.js | il y a 5 ans | |
authCipher.js | il y a 5 ans | |
browser.js | il y a 5 ans | |
decrypter.js | il y a 5 ans | |
encrypter.js | il y a 5 ans | |
ghash.js | il y a 5 ans | |
incr32.js | il y a 5 ans | |
index.js | il y a 5 ans | |
package.json | il y a 5 ans | |
streamCipher.js | il y a 5 ans |
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.