/** * 🔑 Sovereign AIRA API Key Generation Gateway (Vercel Serverless - ES Module) * Generates verified API keys for Free & Pro Aira Models * Engineered for Aira Group of Technology (airaaigroup.in) * Founder & CEO: Er. Adam Eehan */ import crypto from "crypto"; const SECRET = process.env.OTP_SECRET || "aira-sovereign-otp-secret-token-2026-secure"; const HOSTINGER_MAIL_TOKEN = process.env.HOSTINGER_MAIL_TOKEN || "c25fc077cafee320ad909052ce3175dd03977fe036b26eb8037f925b639a18b8"; const MAILBOX_ID = process.env.HOSTINGER_MAILBOX_ID || "AC87b5add2c51357fcc7fa29fae989"; const BOSS_EMAIL = "contact@airaaigroup.in"; const PAID_MODELS = ["aira-3-ultra", "aira-deepmind", "aira-cyber-defender"]; const MODEL_LABELS = { "aira-flash-1.5": "Aira Flash 1.5 (Free Community)", "aira-flash-lite": "Aira Flash Lite (Free High-Speed)", "aira-3-ultra": "Aira 3 Ultra (Flagship Engine v3.6 - Pro)", "aira-deepmind": "AiraDeepMind (550B MoE Swarm - Pro)", "aira-cyber-defender": "Aira Cyber Defender AI (7B Core - Pro)" }; function getKeyDeliveryHtml(name, apiKey, model, expiryDate, tier) { const modelName = MODEL_LABELS[model] || model; return `