XuelesszzZ 94af2b8e7b 6-30-5 | 1 gadu atpakaļ | |
---|---|---|
.. | ||
modes | 1 gadu atpakaļ | |
.travis.yml | 1 gadu atpakaļ | |
LICENSE | 1 gadu atpakaļ | |
README.md | 1 gadu atpakaļ | |
aes.js | 1 gadu atpakaļ | |
authCipher.js | 1 gadu atpakaļ | |
browser.js | 1 gadu atpakaļ | |
decrypter.js | 1 gadu atpakaļ | |
encrypter.js | 1 gadu atpakaļ | |
ghash.js | 1 gadu atpakaļ | |
incr32.js | 1 gadu atpakaļ | |
index.js | 1 gadu atpakaļ | |
package.json | 1 gadu atpakaļ | |
streamCipher.js | 1 gadu atpakaļ |
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.