HMAC-based One-time Password Algorithm

The  HMAC-based One-time Password Algorithm  (HOTP) is a mechanism of generating a one-time password from a shared secret key and a counter, often used for two-factor authentication.