Automic VaultAutomic Vault

brew

Install argon2 with Homebrew, apk, apt, dnf, MacPorts, pacman, zypper

Password hashing library and CLI utility. Version 20190702 via Homebrew; verified 2026-05-11.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install argon2

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install argon2

MacPorts ports tree · devel/argon2/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add argon2

Alpine Linux edge package indexes · argon2 · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install argon2

Debian stable package indexes · argon2 · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install argon2

Fedora Rawhide package metadata · argon2 · source: dl.fedoraproject.org

Arch Linux pacmanverified · 92%
sudo pacman -S argon2

Arch Linux sync databases · argon2 · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install argon2

openSUSE Tumbleweed package metadata · argon2 · source: download.opensuse.org

overview

Package summary

Password hashing library and CLI utility

Commands and aliases

  • argon2

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2013: Password Hashing Competition begins.
  • 2014: PHC submissions close and finalists are shortlisted.
  • 2015-07: PHC announces Argon2 as the winner.
  • 2021-09: RFC 9106 publishes an implementer-oriented Argon2 description and test vectors.

Related projects

  • PHC finalists recognized alongside Argon2 included Catena, Lyra2, Makwa, and yescrypt.
  • BLAKE2b is the hash function used inside RFC 9106's Argon2 description.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
argon2cliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version20190702
manager updated2026-05-11
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/P-H-C/phc-winner-argon2

install metadata

Package metadata

Package keybrew:argon2
Version20190702
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/argon2
Homepagehttps://github.com/P-H-C/phc-winner-argon2
Repositoryhttps://github.com/P-H-C/phc-winner-argon2
Upstream docshttps://github.com/P-H-C/phc-winner-argon2#readme
LicenseCC0-1.0 OR Apache-2.0
Source archivehttps://github.com/P-H-C/phc-winner-argon2/archive/refs/tags/20190702.tar.gz
Last updated2026-05-11T15:59:32-04:00
Pulseupdated
Bottleavailable (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-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameargon2
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

argon2 0~20190702+dfsg-4+b2

memory-hard hashing function - utility

https://github.com/P-H-C/phc-winner-argon2

sudo apt install argon2
  • Section: libs
  • Architecture: amd64
  • Source Package: argon2
  • 1 dependencies
  • normalized package name match
  • Matched by: Argon2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: argon2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libargon2-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-1
  • Section: libs
  • Architecture: amd64
  • Source Package: argon2
  • 1 dependencies
  • normalized package name match
  • Matched by: Argon2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libargon2-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libargon2-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-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: argon2
  • 1 dependencies
  • normalized package name match
  • Matched by: Argon2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libargon2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

argon2 0~20190702+dfsg-4build1

memory-hard hashing function - utility

https://github.com/P-H-C/phc-winner-argon2

sudo apt install argon2
  • Section: universe/utils
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Argon2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: argon2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libargon2-1 0~20190702+dfsg-4build1

memory-hard hashing function - runtime library

https://github.com/P-H-C/phc-winner-argon2

sudo apt install libargon2-1
  • Section: libs
  • Architecture: amd64
  • Source Package: argon2
  • 1 dependencies
  • normalized package name match
  • Matched by: Argon2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libargon2-1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libargon2-dev 0~20190702+dfsg-4build1

memory-hard hashing function - development files

https://github.com/P-H-C/phc-winner-argon2

sudo apt install libargon2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: argon2
  • 1 dependencies
  • normalized package name match
  • Matched by: Argon2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libargon2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

argon2 20190702-r5

The password hash Argon2, winner of PHC

https://github.com/P-H-C/phc-winner-argon2

sudo apk add argon2
  • License: Apache-2.0 OR CC0-1.0
  • Architecture: x86_64
  • Source Package: argon2
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Argon2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: argon2 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

argon2-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-dev
  • License: Apache-2.0 OR CC0-1.0
  • Architecture: x86_64
  • Source Package: argon2
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Argon2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: argon2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

argon2-libs 20190702-r5

The password hash Argon2, winner of PHC (libraries)

https://github.com/P-H-C/phc-winner-argon2

sudo apk add argon2-libs
  • License: Apache-2.0 OR CC0-1.0
  • Architecture: x86_64
  • Source Package: argon2
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Argon2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: argon2-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

argon2-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-static
  • License: Apache-2.0 OR CC0-1.0
  • Architecture: x86_64
  • Source Package: argon2
  • normalized package name match
  • Matched by: Argon2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: argon2-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

argon2 20190702-10.fc44

The password-hashing tools

https://github.com/P-H-C/phc-winner-argon2

sudo dnf install argon2
  • License: CC0-1.0 OR Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: argon2
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Argon2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: argon2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libargon2 20190702-10.fc44

The password-hashing library

https://github.com/P-H-C/phc-winner-argon2

sudo dnf install libargon2
  • License: CC0-1.0 OR Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: argon2
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Argon2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libargon2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libargon2-devel 20190702-10.fc44

Development files for libargon2

https://github.com/P-H-C/phc-winner-argon2

sudo dnf install libargon2-devel
  • License: CC0-1.0 OR Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: argon2
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Argon2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libargon2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

argon2 20190702-6

A password-hashing function (reference C implementation)

https://github.com/P-H-C/phc-winner-argon2

sudo pacman -S argon2
  • License: Apache AND custom:CC0
  • Architecture: x86_64
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Argon2
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: argon2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

argon2 20190702-4.5

The reference C implementation of Argon2

https://github.com/P-H-C/phc-winner-argon2

sudo zypper install argon2
  • License: Apache-2.0 OR CC0-1.0
  • Category: Productivity/Networking/Security
  • Architecture: x86_64
  • Source Package: argon2
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Argon2
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: argon2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

argon2-devel 20190702-4.5

Development files for argon2

https://github.com/P-H-C/phc-winner-argon2

sudo zypper install argon2-devel
  • License: Apache-2.0 OR CC0-1.0
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: argon2
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Argon2
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: argon2-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment