one-time password
A code that is valid for one sign-in, generated by an app or token, or sent by message, used as a second factor.
In more detail
A time-based OTP (TOTP) is computed from a shared secret and the current time, so it changes every 30 seconds. A counter-based OTP (HOTP) changes each time it is used. Both can be phished in real time by a proxy page, which is why phishing-resistant methods such as passkeys are preferred.
Related terms
- MFA — Multi-factor authentication: proving who you are with something extra, such as a code from a phone, as well as a password.
- Short Message Service — The text messaging service of mobile networks.
- SIM swapping — An attack in which a criminal persuades a mobile carrier to move a victim's number to a SIM the criminal holds.
Taught in
- Identity: Joiners, Federation And MFA — CompTIA Security+ (SY0-801) Exam Prep
- Three Audit Findings And A Phone: Password Policy, Lockouts And MFA — CompTIA Linux+ (XK0-006) Exam Prep