Back to Temporary Inbox
RFC 6238 Web Crypto TOTP Utility

TOTP Code Generator & Verifier

Generate standard RFC 6238 Time-based One-Time Passcodes (HMAC-SHA1) directly in your browser using the Web Crypto API for testing 2FA and OTP verification flows.

Live RFC 6238 TOTP Token
------
Refreshes in 30s
Provisioning URI (otpauth://)

otpauth://totp/UseCloakMail:[email protected]?secret=JBSWY3DPEHPK3PXP&issuer=UseCloakMail&digits=6&period=30

Authentication Architecture Guide

Understanding TOTP vs. Email-Based OTPs

How RFC 6238 TOTP Works

Time-based One-Time Passwords combine a shared Base32 secret key with the current Unix timestamp divided into 30-second intervals, hashed via HMAC-SHA1 and dynamically truncated into a 6- or 8-digit integer.

6-Digit vs. 8-Digit Entropy

A 6-digit code offers 1,000,000 combinations, which requires strict server-side rate limiting. An 8-digit code expands the search space to 100,000,000 combinations, ideal for high-security enterprise portals.