Wrapping up for the night. Lots of work on encryption related.

This commit is contained in:
Scott Idem
2025-09-10 20:58:10 -04:00
parent cc6186467a
commit 084e52be15
3 changed files with 171 additions and 184 deletions

View File

@@ -104,6 +104,7 @@ export let decrypt_wrapper = async function decrypt_wrapper(
return false;
}
const { iv, base64 } = split_iv_and_base64(combined);
console.log(`IV: ${iv}; Encrypted:`, base64);
let decrypted;
try {
decrypted = await decrypt_content(base64, iv, keyData);