Webcatalog License Key (Web)
POST /api/v1/license/deactivate Request:
"license_key": "...", "machine_id": "..." Webcatalog License Key
function decryptLicense(encoded) const data = Buffer.from(encoded, 'base64'); const iv = data.subarray(0, 12); const tag = data.subarray(12, 28); const ciphertext = data.subarray(28); const decipher = crypto.createDecipheriv(ALGORITHM, SECRET_KEY, iv); decipher.setAuthTag(tag); let decrypted = decipher.update(ciphertext); decrypted += decipher.final(); return JSON.parse(decrypted); POST /api/v1/license/deactivate Request: "license_key": "
"valid": true, "expires_at": "2026-01-01", "features": ["themes", "auto-updates"], "remaining_days": 365 const iv = data.subarray(0
Response: