[KongchangAI]
PaperTOTP标准

RFC 6238

An IETF standard document for TOTP (Time-based One-Time Password). It defines an algorithm that uses a shared secret and a timestamp to generate dynamic verification codes.

Timeline (last 90 days)

Oct 19

In a hands-on video by a Bilibili uploader, REA analyzed an APK app and located that the verification code generation logic uses the standard RFC 6238 TOTP algorithm, padding with zeros on the left when the result is fewer than 6 digits.

Unverified50%
Oct 19

TOTP is defined in RFC 6238 and is a time-dimension extension of HOTP (RFC 4226); it is computed by dividing the current Unix timestamp by the time step to obtain a counter C, then computing HMAC-SHA1(K, C), extracting a 31-bit integer via dynamic truncation, and taking the result modulo 10^6 to obtain a 6-digit verification code.

Unverified50%
Oct 13

RFC 6238 allows the server to tolerate a certain degree of drift, typically one 30-second window before and after, i.e. a tolerance range of about 90 seconds.

Unverified50%
Sep 10

Google Authenticator adopts the RFC 6238 standard (TOTP).

Unverified50%

All Facts (5)

Source Articles