export function generateKey(): string { const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" let result = "JX_" for (let i = 0; i < 20; i++) { result += chars.charAt(Math.floor(Math.random() * chars.length)) } return result } export function formatKey(key: string): string { return key }