macOS
brew install argon2local Homebrew formula metadata
sudo port install argon2MacPorts ports tree · devel/argon2/Portfile · source: api.github.com
brew
Password hashing library and CLI utility. Version 20190702 via Homebrew; verified 2026-05-11.
install
brew install argon2local Homebrew formula metadata
sudo port install argon2MacPorts ports tree · devel/argon2/Portfile · source: api.github.com
sudo apk add argon2Alpine Linux edge package indexes · argon2 · source: dl-cdn.alpinelinux.org
sudo apt install argon2Debian stable package indexes · argon2 · source: deb.debian.org
sudo dnf install argon2Fedora Rawhide package metadata · argon2 · source: dl.fedoraproject.org
sudo pacman -S argon2Arch Linux sync databases · argon2 · source: geo.mirror.pkgbuild.com
sudo zypper install argon2openSUSE Tumbleweed package metadata · argon2 · source: download.opensuse.org
overview
Password hashing library and CLI utility
history
Argon2 is a memory-hard password-hashing function and command-line utility. The Homebrew package builds the reference C implementation from the Password Hashing Competition winner repository.
The Password Hashing Competition began after its organizers concluded that modern applications lacked a widely accepted password-hashing standard. The PHC site says the competition ran from 2013 to 2015, received 24 candidates, shortlisted finalists, and selected Argon2 in July 2015.
Argon2 was designed by Alex Biryukov, Daniel Dinu, and Dmitry Khovratovich. The reference repository describes the implementation as C code for the PHC-winning function and documents the Argon2i, Argon2d, and Argon2id variants with time, memory, and parallelism parameters.
RFC 9106, published in September 2021 by the IRTF Crypto Forum Research Group, gave an implementer-oriented description of Argon2 version 1.3 with test vectors. It names Argon2id as the primary variant for implementations of the RFC, with Argon2d and Argon2i as supplementary variants.
Argon2's adoption path moved from competition winner to reference implementation to language bindings and standards-track-adjacent guidance. The PHC site notes bindings for most languages, while RFC 9106 explicitly aims to simplify adoption of Argon2 in Internet protocols.
Package adoption is broad because the reference implementation is useful both directly and indirectly: developers install the CLI to benchmark or generate hashes, while distributions also build `libargon2` for applications, password managers, authentication systems, and language bindings.
The `argon2` executable reads the password from standard input and accepts a salt plus flags for variant, iterations, memory, parallelism, hash length, encoded output, raw output, and Argon2 version. The README also documents static and shared libraries for embedding the algorithm in C programs.
For package users, the CLI is often a test and interoperability tool rather than the main production integration. Its encoded hash output is useful for checking parameters and verifying that bindings or server frameworks produce compatible values.
Argon2 is package-nerd catnip because a tiny CLI package exposes a major cryptographic primitive with tunable resource costs. It is one of the rare formulae where build flags, SIMD support, libraries, headers, and command-line behavior all matter to downstream consumers.
It also illustrates how security primitives travel through package ecosystems: a competition reference implementation becomes a distro library, then a dependency of higher-level language packages and authentication stacks.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
argon2 | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/P-H-C/phc-winner-argon2
install metadata
| Package key | brew:argon2 |
|---|---|
| Version | 20190702 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/argon2 |
| Homepage | https://github.com/P-H-C/phc-winner-argon2 |
| Repository | https://github.com/P-H-C/phc-winner-argon2 |
| Upstream docs | https://github.com/P-H-C/phc-winner-argon2#readme |
| License | CC0-1.0 OR Apache-2.0 |
| Source archive | https://github.com/P-H-C/phc-winner-argon2/archive/refs/tags/20190702.tar.gz |
| Last updated | 2026-05-11T15:59:32-04:00 |
| Pulse | updated |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | argon2 |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
argon2 0~20190702+dfsg-4+b2
memory-hard hashing function - utility
https://github.com/P-H-C/phc-winner-argon2
sudo apt install argon2libargon2-1 0~20190702+dfsg-4+b2
memory-hard hashing function - runtime library
https://github.com/P-H-C/phc-winner-argon2
sudo apt install libargon2-1libargon2-dev 0~20190702+dfsg-4+b2
memory-hard hashing function - development files
https://github.com/P-H-C/phc-winner-argon2
sudo apt install libargon2-devargon2 0~20190702+dfsg-4build1
memory-hard hashing function - utility
https://github.com/P-H-C/phc-winner-argon2
sudo apt install argon2libargon2-1 0~20190702+dfsg-4build1
memory-hard hashing function - runtime library
https://github.com/P-H-C/phc-winner-argon2
sudo apt install libargon2-1libargon2-dev 0~20190702+dfsg-4build1
memory-hard hashing function - development files
https://github.com/P-H-C/phc-winner-argon2
sudo apt install libargon2-devargon2 20190702-r5
The password hash Argon2, winner of PHC
https://github.com/P-H-C/phc-winner-argon2
sudo apk add argon2argon2-dev 20190702-r5
The password hash Argon2, winner of PHC (development files)
https://github.com/P-H-C/phc-winner-argon2
sudo apk add argon2-devargon2-libs 20190702-r5
The password hash Argon2, winner of PHC (libraries)
https://github.com/P-H-C/phc-winner-argon2
sudo apk add argon2-libsargon2-static 20190702-r5
The password hash Argon2, winner of PHC (static library)
https://github.com/P-H-C/phc-winner-argon2
sudo apk add argon2-staticargon2 20190702-10.fc44
The password-hashing tools
https://github.com/P-H-C/phc-winner-argon2
sudo dnf install argon2libargon2 20190702-10.fc44
The password-hashing library
https://github.com/P-H-C/phc-winner-argon2
sudo dnf install libargon2libargon2-devel 20190702-10.fc44
Development files for libargon2
https://github.com/P-H-C/phc-winner-argon2
sudo dnf install libargon2-develargon2 20190702-6
A password-hashing function (reference C implementation)
https://github.com/P-H-C/phc-winner-argon2
sudo pacman -S argon2argon2 20190702-4.5
The reference C implementation of Argon2
https://github.com/P-H-C/phc-winner-argon2
sudo zypper install argon2argon2-devel 20190702-4.5
Development files for argon2
https://github.com/P-H-C/phc-winner-argon2
sudo zypper install argon2-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.