TheBlueMatt/textsecure-chrome — pull request #11 by liliakai (2014-05-01 02:44:39+00:00)
Title: Will the real Web Crypto please stand up?

Adds
* crypto.js
- Defines our low level crypto operations (hmac, encrypt/decrypt) in terms of the Web Crypto API spec.
* webcrypto.js
- collects all CryptoJS-based implementaions into a polyfill to tide us over until the real Web Crypto lands.

Also refactors everything that depends on those operations to work with js promises and handle the results asynchronously.

Finally, adds a few low level crypto unit tests with NIST test vectors.