Initial WinningHunter MVP

This commit is contained in:
2026-07-07 20:40:43 +03:00
commit 8dd43c57ca
57 changed files with 5295 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import crypto from "crypto";
export function randomToken(bytes = 32) {
return crypto.randomBytes(bytes).toString("base64url");
}
export function sha256(input: string) {
return crypto.createHash("sha256").update(input).digest("hex");
}