|
DeterministicESPAsyncWebServer v6.28.0
Zero-allocation, bounded-execution async HTTP server for ESP32
|
TOTP two-factor auth (RFC 6238) (DETWS_ENABLE_TOTP). More...
Go to the source code of this file.
TOTP two-factor auth (RFC 6238) (DETWS_ENABLE_TOTP).
Time-based one-time passwords over HMAC-SHA1 (the existing software SHA-1) - Google Authenticator / Authy compatible. Compute the current code from a shared secret and the Unix time, verify a submitted code within a +/- step window (for clock skew), and decode the base32 secret a provisioning QR/app gives the user. Pure, no heap, host-tested against the RFC 6238 test vectors.
Definition in file totp.h.