summaryrefslogtreecommitdiff
path: root/apps/web/src/lib/zk-encryption.ts
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-08-12 16:35:01 +0200
committerMaze Winther <mazewinther@gmail.com>2025-08-12 16:35:01 +0200
commita97eb26fa4552df520f26bbacfaa44d1f8faff3d (patch)
tree8ea9eeb4b9e75f179c7bd256ee1aa6b258e3b473 /apps/web/src/lib/zk-encryption.ts
parentae987e1d66465e22330dad5d01aee5f55e2acf0e (diff)
downloadopencut-a97eb26fa4552df520f26bbacfaa44d1f8faff3d.tar.gz
fix: typo causing runtime error
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"]
);