/* eslint-disable no-console */ import crypto from "node:crypto"; function generateApiKey(length = 32): string { return crypto.randomBytes(length).toString("base64"); } // If this file is run directly, generate and log an API key. if (require.main === module) { console.log("Primary API Key:", generateApiKey()); console.log("Secondary API Key:", generateApiKey()); } export { generateApiKey };