summaryrefslogtreecommitdiff
path: root/apps/web/src/lib/zk-encryption.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src/lib/zk-encryption.ts')
-rw-r--r--apps/web/src/lib/zk-encryption.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/lib/zk-encryption.ts b/apps/web/src/lib/zk-encryption.ts
index 09e5e861..58734807 100644
--- a/apps/web/src/lib/zk-encryption.ts
+++ b/apps/web/src/lib/zk-encryption.ts
@@ -25,7 +25,7 @@ export async function encryptWithRandomKey(
const cryptoKey = await crypto.subtle.importKey(
"raw",
key,
- { name: " " },
+ { name: "AES-GCM" },
false,
["encrypt"]
);