diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-06-03 15:13:25 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-06-03 15:13:25 -0700 |
| commit | 495ecca361a7422e7c42dea04a08946cfceef29a (patch) | |
| tree | b7f14b7e5d333766f6839442e005f499b916af90 | |
| parent | 0ea31947adcdf599f10dfb82a57b0e7fd9164295 (diff) | |
weird fix for crypto?
| -rw-r--r-- | src/helpers/fetchSolution.ts | 2 |
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, |
