A pure JavaScript implementation of the AES block cipher and all common modes of operation for node.js or web browsers.
Various non-critical fixes; see commit history.
Added support for large (over 32-bit, but not larger than 53-bit) integers for aesjs.Counter.
The following changes have been made:
Uint8Array
instead of ArrayThis is a major version change, as some functionality is not backward compatible (but all functionality has an equivalent)
Only major change in this release is that ECB and CBC modes of operation can be given any amount of data (as long as its length is a multiple of the block size, 16 bytes) and will encrypt/decrypt the entire chunk.
Fixed some inconsistencies (and bugs) in the API with respect to exceptions being thrown.
slowCreateBuffer
for browsers which do not support .slice()
on their typed arrays, as well as exposed it via aes.util._createSlowBuffer
for access by the test cases.Version 0.2.2