// OTP generation utilities
export const generateOtp = () => {
  // 6-digit OTP (000000–999999)
  const otp = Math.floor(100000 + Math.random() * 900000).toString();

  const otpExpireTime = Date.now() + 5 * 60 * 1000; // 5 minutes
  return { otp, otpExpireTime };
};
