1 |
3a515b92
|
cagy
|
# browserify-aes
|
2 |
|
|
[](https://travis-ci.org/crypto-browserify/browserify-aes)
|
3 |
|
|
|
4 |
|
|
Node style aes for use in the browser.
|
5 |
|
|
Implements:
|
6 |
|
|
|
7 |
|
|
- createCipher
|
8 |
|
|
- createCipheriv
|
9 |
|
|
- createDecipher
|
10 |
|
|
- createDecipheriv
|
11 |
|
|
- getCiphers
|
12 |
|
|
|
13 |
|
|
In node.js, the `crypto` implementation is used, in browsers it falls back to a pure JavaScript implementation.
|
14 |
|
|
|
15 |
|
|
Much of this library has been taken from the aes implementation in [triplesec](https://github.com/keybase/triplesec), a partial derivation of [crypto-js](https://code.google.com/p/crypto-js/).
|
16 |
|
|
|
17 |
|
|
`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.
|
18 |
|
|
|
19 |
|
|
## LICENSE [MIT](LICENSE)
|