mirror of
https://github.com/kccleoc/seedpgp-web.git
synced 2026-03-07 09:57:50 +08:00
bug fix app.tsx
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user