Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

146 B
Raw Blame
import { crypto } from "@app/lib/crypto/cryptography";

export const generateRecoveryCode = () => String(crypto.randomInt(10 ** 7, 10 ** 8 - 1));