@hackage / one-time-password

HMAC-Based and Time-Based One-Time Passwords

Latest3.0.1.0

About

Metadata

  • Last updated , by hecate
  • License MIT
  • Categories Cryptography
  • Maintained by: The Haskell Cryptography Group contributors

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.10.2
  2. 9.8.4
  3. 9.8.2
  4. 9.6.7
  5. 9.6.4
  6. 9.4.8

Readme

one-time-password

CI badge Hackage

A One-Time Password (OTP) is a dynamic password used once in conjunction with an account's usual password, a for the purpose of two-factor authentication.

It can be based on a counter (HOTP) or a timestamp (TOTP). This module provides both methods.

Mobile authenticator applications will typically require a TOTP secret. They are most commonly provided as QR codes to scan. This library can generate a URI that can be used by a QR Code generator.