How does Google Authenticator work? (Part 2)
This post is the the second in a three-part series. The remaining two:
How does Google Authenticator work? (Part 1)
How does Google Authenticator work? (Part 3)
Authenticator apps like Google Authenticator use 2 authenticaion protocol centered around What you have
paradigm. Those algorithms are:
HOTP (HMAC-based One Time Password), and
TOTP (Time-based One Time Password).
They obviously are different, but both are centered around the same basic idea: using a rolling hash value,
that is predictable only to the server and the authenticator app. Additionally, both are using HMAC-SHA-1
for generating those hash values.
Patryk's blog