chore(checkpoint): save club core backend and pending pos fixes

This commit is contained in:
Deploy
2026-08-26 17:58:45 +02:00
parent cf3c906ed2
commit 49dfd00406
44 changed files with 2241 additions and 219 deletions

View File

@@ -0,0 +1,9 @@
import { createHash, randomBytes } from 'node:crypto';
export function generateDeviceToken(): string {
return randomBytes(48).toString('base64url');
}
export function hashDeviceToken(token: string): string {
return createHash('sha256').update(token).digest('hex');
}