|
|
|
@ -62,6 +62,7 @@ window.textsecure.subtle = (function() {
|
|
|
|
{iv: CryptoJS.enc.Latin1.parse(getString(iv))})
|
|
|
|
{iv: CryptoJS.enc.Latin1.parse(getString(iv))})
|
|
|
|
.ciphertext.toString(CryptoJS.enc.Latin1);
|
|
|
|
.ciphertext.toString(CryptoJS.enc.Latin1);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
function decryptAESCBC(ciphertext, key, iv) {
|
|
|
|
function decryptAESCBC(ciphertext, key, iv) {
|
|
|
|
assertIsArrayBuffer(ciphertext);
|
|
|
|
assertIsArrayBuffer(ciphertext);
|
|
|
|
assertIsArrayBuffer(key);
|
|
|
|
assertIsArrayBuffer(key);
|
|
|
|
|