A JavaScript implementation of CBC (cypher block chaining) and CTR (counter mode) using AES.