What the 2FA / TOTP Setup Guide Does
This tool is a guided, four-step wizard for turning on app-based two-factor authentication, run entirely in the browser. Step 1 generates a strong 160-bit Base32 secret (RFC 4648) with crypto.getRandomValues and lets you set the issuer, account label and the algorithm / digits / period. Step 2 renders the otpauth:// key URI as a scannable QR and shows the manual-entry key with per-app hints for Google Authenticator, Authy, Microsoft Authenticator and password manager apps. Step 3 verifies the code your app produces against the secret using the native Web Crypto HMAC, with a ±1-step tolerance for clock drift. Step 4 issues ten single-use backup / recovery codes to download or print. A live current code and countdown ring show, at a glance, exactly what your app should display.
- Four steps: secret → add-to-app QR → verify → backup codes
- 160-bit Base32 secret and recovery codes from crypto.getRandomValues
- otpauth QR + manual key for the major authenticator apps
- Verify uses Web Crypto HMAC with ±1-step drift tolerance
- Live current code + countdown ring for reassurance
