|
|
преди 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.