aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-06-03 15:13:25 -0700
committerPinapelz <yukais@pinapelz.com>2026-06-03 15:13:25 -0700
commit495ecca361a7422e7c42dea04a08946cfceef29a (patch)
treeb7f14b7e5d333766f6839442e005f499b916af90
parent0ea31947adcdf599f10dfb82a57b0e7fd9164295 (diff)
weird fix for crypto?
-rw-r--r--src/helpers/fetchSolution.ts2
1 files changed, 2 insertions, 0 deletions
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<Song> {
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,
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage