Illia Kozyr c722a49f64 React Project DONE | 2 gadi atpakaļ | |
---|---|---|
.. | ||
modes | 2 gadi atpakaļ | |
.travis.yml | 2 gadi atpakaļ | |
LICENSE | 2 gadi atpakaļ | |
README.md | 2 gadi atpakaļ | |
aes.js | 2 gadi atpakaļ | |
authCipher.js | 2 gadi atpakaļ | |
browser.js | 2 gadi atpakaļ | |
decrypter.js | 2 gadi atpakaļ | |
encrypter.js | 2 gadi atpakaļ | |
ghash.js | 2 gadi atpakaļ | |
incr32.js | 2 gadi atpakaļ | |
index.js | 2 gadi atpakaļ | |
package.json | 2 gadi atpakaļ | |
streamCipher.js | 2 gadi 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.