update ui and other frontend updates

This commit is contained in:
JCEEE
2026-07-29 09:41:52 +01:00
parent 04b83925e0
commit 57ef30d3a7
79 changed files with 7323 additions and 429 deletions
+9
View File
@@ -0,0 +1,9 @@
export async function sha256(input: string): Promise<string> {
const hash = await globalThis.crypto.subtle.digest(
'SHA-256',
new TextEncoder().encode(input),
);
return Array.from(new Uint8Array(hash))
.map((b) => b.toString(16).padStart(2, '0'))
.join('');
}