OTP

HMAC-Based and Time-Based One-Time Passwords (HOTP & TOTP)

https://github.com/hvr/OTP

Latest on Hackage:0.1.0.0@rev:2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Artem Leshchev, Aleksey Uimanov, Herbert Valerio Riedel
Maintained by [email protected]

Implements the HMAC-Based One-Time Password Algorithm (HOTP) as defined in RFC 4226 and the Time-Based One-Time Password Algorithm (TOTP) as defined in RFC 6238.

The TOTP and HOTP algorithms are commonly used to implement two-step verification (2FA) (e.g. by Google Authenticator ).

See module Data.OTP for API documentation.