Time-based one-time password (TOTP) is an algorithm, published by the Internet Engineering Task Force as RFC 6238 in 2011, that produces a short numeric code from a shared secret key and the current time. It extends the counter-based HOTP method by replacing the counter with the number of fixed time steps, usually 30 seconds, since a reference date. The server and the user's authenticator app compute the same code independently, so nothing needs to be sent to the phone.
TOTP is the most common way of delivering two-factor authentication on banking, payment and crypto exchange accounts. It is generally regarded as safer than codes sent by text message, which can be intercepted through SIM swapping. It is not fully resistant to phishing, however, because a fake site can ask for the code and use it within its short validity window. Standards based on public-key cryptography address that gap.
Ref 1300000357