()
| 60 | * Returns a 64-character hex string (256-bit). |
| 61 | */ |
| 62 | export function generateRandomApiKey() { |
| 63 | return randomBytes(32).toString("hex"); |
| 64 | } |
| 65 | |
| 66 | // Where the auto-generated API key is persisted so it stays stable across |
| 67 | // `npm run dev` restarts. Keeping the key stable means the value baked into |
no outgoing calls
no test coverage detected