How does two factor authentication with phone authenticator apps work? How does the website know you’ve entered the correct temporary code?

287 views

Two factor authentication is so important in the modern internet. As far as I know, it makes it extremely difficult to hack into an account, even if you have the password. But how does it work? How does this random website know that I’ve entered the temporary code from my authenticator app correctly?

Like, 2fa with email or text is simple, but how, specifically, do the authenticator apps on phones work?

In: 5

7 Answers

Anonymous 0 Comments

The ideas is that both sides already know both a “secret” key and the current time.

taking advantage of that information, a 6 digit code is created using a combination of the two. The website can then verify the entered code against expected code(s)

You are viewing 1 out of 7 answers, click here to view all answers.