fix: typo causing runtime error

This commit is contained in:
Maze Winther 2025-08-12 16:35:01 +02:00
parent ae987e1d66
commit a97eb26fa4
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export async function encryptWithRandomKey(
const cryptoKey = await crypto.subtle.importKey( const cryptoKey = await crypto.subtle.importKey(
"raw", "raw",
key, key,
{ name: " " }, { name: "AES-GCM" },
false, false,
["encrypt"] ["encrypt"]
); );