UNPKG

780 BMarkdownView Raw
1browserify-aes
2====
3
4[![Build Status](https://travis-ci.org/crypto-browserify/browserify-aes.svg)](https://travis-ci.org/crypto-browserify/browserify-aes)
5
6Node style aes for use in the browser. Implements:
7
8 - createCipher
9 - createCipheriv
10 - createDecipher
11 - createDecipheriv
12 - getCiphers
13
14In node.js, the `crypto` implementation is used, in browsers it falls back to a pure JavaScript implementation.
15
16Much 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/).
17
18`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.