|
|
пре 2 година | |
|---|---|---|
| .. | ||
| modes | пре 2 година | |
| .travis.yml | пре 2 година | |
| LICENSE | пре 2 година | |
| README.md | пре 2 година | |
| aes.js | пре 2 година | |
| authCipher.js | пре 2 година | |
| browser.js | пре 2 година | |
| decrypter.js | пре 2 година | |
| encrypter.js | пре 2 година | |
| ghash.js | пре 2 година | |
| incr32.js | пре 2 година | |
| index.js | пре 2 година | |
| package.json | пре 2 година | |
| streamCipher.js | пре 2 година | |
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.