39505c81b1
We now correctly and opportunistically use the webcrypto API if available, polyfilling if it's not detected. This change also includes a layer of abstraction over the webcrypto interface so we no longer have to deal with key-imports or algorithm names all over the place. Since we no longer support AES-CTR, code outside this file can simply call `textsecure.subtle.<encrypt|decrypt|sign>(key, data [, iv])`. |
||
---|---|---|
.. | ||
models | ||
views | ||
api.js | ||
background.js | ||
chromium.js | ||
crypto.js | ||
fake_api.js | ||
helpers.js | ||
libphonenumber-util.js | ||
options.js | ||
popup.js | ||
protobufs.js | ||
sendmessage.js | ||
test.js | ||
testvectors.js | ||
webcrypto.js |