bug fix app.tsx

This commit is contained in:
LC mac
2026-01-29 23:18:29 +08:00
parent 8e656749fe
commit 6bbfe665cd
3 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ export async function encryptJsonToBlob<T>(data: T): Promise<EncryptedBlob> {
const ciphertext = await window.crypto.subtle.encrypt(
{
name: KEY_ALGORITHM,
iv: iv,
iv: iv as Uint8Array,
},
sessionKey,
plaintext,