OTP: HMAC-Based and Time-Based One-Time Passwords (HOTP & TOTP)
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.
[Skip to Readme]
Versions [faq] | 0.0.0.1, 0.1.0.0 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.5.0.0 && <4.14), bytestring (>=0.9.2.0 && <0.11), cryptohash-sha1 (>=0.11.100.1 && <0.12), cryptohash-sha256 (>=0.11.100.1 && <0.12), cryptohash-sha512 (>=0.11.100.1 && <0.12), time (>=1.4 && <1.10) [details] |
License | MIT |
Copyright | 2012 Artem Leshchev, 2016 Aleksey Uimanov, 2018 Herbert Valerio Riedel |
Author | Artem Leshchev, Aleksey Uimanov, Herbert Valerio Riedel |
Maintainer | hvr@gnu.org |
Revised | Revision 2 made by HerbertValerioRiedel at 2019-09-01T20:37:21Z |
Category | Cryptography |
Home page | https://github.com/hvr/OTP |
Bug tracker | https://github.com/hvr/OTP/issues |
Source repo | head: git clone https://github.com/hvr/OTP.git |
Uploaded | by HerbertValerioRiedel at 2018-07-16T08:58:06Z |
Distributions | NixOS:0.1.0.0 |
Downloads | 1738 total (5 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2018-07-16 [all 1 reports] |
Flags
Name | Description | Default | Type |
---|---|---|---|
pure-sha | Use pure Haskell SHA implementation instead of | Disabled | Manual |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- OTP-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.