From 495ecca361a7422e7c42dea04a08946cfceef29a Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 3 Jun 2026 15:13:25 -0700 Subject: weird fix for crypto? --- src/helpers/fetchSolution.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/helpers/fetchSolution.ts b/src/helpers/fetchSolution.ts index 38872cd..dd623a0 100644 --- a/src/helpers/fetchSolution.ts +++ b/src/helpers/fetchSolution.ts @@ -43,6 +43,8 @@ export async function getDailySolution(): Promise { const combined = new Uint8Array(ciphertext.length + authTag.length); combined.set(ciphertext); combined.set(authTag, ciphertext.length); + console.log(key.algorithm); + console.log(key.usages); const decrypted = await crypto.subtle.decrypt( { name: 'AES-GCM', iv: hexToBytes(iv) }, key, -- cgit v1.2.3