argon2: Memory-hard password hash and proof-of-work function
Argon2 is the key derivation function (KDF) selected as the winner of the Password Hashing Competition. The API exposed by this bindings provide access to the 3 specified variants
Argon2d
(maximize resistance to GPU cracking attacks),Argon2i
(optimized to resist side-channel attacks), andArgon2id
(hybrid version combiningArgon2d
andArgon2i
)
and allows to control various parameters (time cost, memory cost, parallelism) of the Argon2 function. Moreover, it is also supported to generate and verify the deprecated version 1.0 hashes, as well as the current version 1.3 hashes.
The Haskell API supports both raw binary hashes as well as the ASCII-based PHC string format.
This version provides bindings to the "20171227
" release of the Argon2 reference implementation (libargon2) of the Argon2 password-hashing function.
Please refer to the Argon2 specification for more information.
Flags
Manual Flags
Name | Description | Default |
---|---|---|
use-system-library | Link against system | Disabled |
pkg-config | Use NOTE: This has an effect only when the | Enabled |
non-optimised-c | Force use of non-optimised C routines on | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- argon2-1.3.0.1.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'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 1.0.0, 1.1.0, 1.2.0, 1.3.0.0, 1.3.0.1 |
---|---|
Change log | Changelog.md |
Dependencies | base (>=4.8 && <4.18), bytestring (>=0.10.0.0 && <0.12.0.0), deepseq (>=1.4 && <1.5), text-short (>=0.1.2 && <0.2) [details] |
License | BSD-3-Clause[multiple license files] |
Author | Ollie Charles, Herbert Valerio Riedel |
Maintainer | Herbert Valerio Riedel <hvr@gnu.org> |
Revised | Revision 4 made by ChrisDornan at 2023-04-02T22:05:17Z |
Category | Cryptography |
Bug tracker | https://github.com/hvr/argon2/issues |
Source repo | head: git clone https://github.com/hvr/argon2.git |
Uploaded | by HerbertValerioRiedel at 2018-04-07T18:52:12Z |
Distributions | Debian:1.3.0.1, NixOS:1.3.0.1 |
Downloads | 4186 total (23 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-04-14 [all 1 reports] |