# argon2 を Homebrew, apk, apt, dnf, MacPorts, pacman, zypper でインストール

argon2 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:argon2
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install argon2
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install argon2
```

  証拠: MacPorts ports tree: devel/argon2/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add argon2
```

  証拠: Alpine Linux edge package indexes: argon2 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install argon2
```

  証拠: Debian stable package indexes: argon2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install argon2
```

  証拠: Fedora Rawhide package metadata: argon2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S argon2
```

  証拠: Arch Linux sync databases: argon2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install argon2
```

  証拠: openSUSE Tumbleweed package metadata: argon2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:argon2
- **パッケージマネージャ:** Homebrew
- **バージョン:** 20190702
- **ソース概要:** Password hashing library and CLI utility
- **ホームページ:** <https://github.com/P-H-C/phc-winner-argon2>
- **リポジトリ:** <https://github.com/P-H-C/phc-winner-argon2>
- **最終更新:** 2026-05-11T15:59:32-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- argon2 (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 20190702
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

- <https://github.com/P-H-C/phc-winner-argon2>
- <https://www.password-hashing.net/>
- <https://www.rfc-editor.org/rfc/rfc9106>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - argon2 - 0~20190702+dfsg-4+b2: normalized package name match | Debian stable package indexes: argon2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | memory-hard hashing function - utility | https://github.com/P-H-C/phc-winner-argon2
- Debian apt - libargon2-1 - 0~20190702+dfsg-4+b2: normalized package name match | Debian stable package indexes: libargon2-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | memory-hard hashing function - runtime library | https://github.com/P-H-C/phc-winner-argon2
- Debian apt - libargon2-dev - 0~20190702+dfsg-4+b2: normalized package name match | Debian stable package indexes: libargon2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | memory-hard hashing function - development files | https://github.com/P-H-C/phc-winner-argon2
- Ubuntu apt - argon2 - 0~20190702+dfsg-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: argon2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | memory-hard hashing function - utility | https://github.com/P-H-C/phc-winner-argon2
- Ubuntu apt - libargon2-1 - 0~20190702+dfsg-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libargon2-1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | memory-hard hashing function - runtime library | https://github.com/P-H-C/phc-winner-argon2
- Ubuntu apt - libargon2-dev - 0~20190702+dfsg-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libargon2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | memory-hard hashing function - development files | https://github.com/P-H-C/phc-winner-argon2
- apk - argon2 - 20190702-r5: normalized package name match | Alpine Linux edge package indexes: argon2 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The password hash Argon2, winner of PHC | https://github.com/P-H-C/phc-winner-argon2
- apk - argon2-dev - 20190702-r5: normalized package name match | Alpine Linux edge package indexes: argon2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The password hash Argon2, winner of PHC (development files) | https://github.com/P-H-C/phc-winner-argon2
- apk - argon2-libs - 20190702-r5: normalized package name match | Alpine Linux edge package indexes: argon2-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The password hash Argon2, winner of PHC (libraries) | https://github.com/P-H-C/phc-winner-argon2
- apk - argon2-static - 20190702-r5: normalized package name match | Alpine Linux edge package indexes: argon2-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The password hash Argon2, winner of PHC (static library) | https://github.com/P-H-C/phc-winner-argon2
- dnf - argon2 - 20190702-11.fc45: normalized package name match | Fedora Rawhide package metadata: argon2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | The password-hashing tools | https://github.com/P-H-C/phc-winner-argon2
- dnf - libargon2 - 20190702-11.fc45: normalized package name match | Fedora Rawhide package metadata: libargon2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | The password-hashing library | https://github.com/P-H-C/phc-winner-argon2
- dnf - libargon2-devel - 20190702-11.fc45: normalized package name match | Fedora Rawhide package metadata: libargon2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for libargon2 | https://github.com/P-H-C/phc-winner-argon2
- pacman - argon2 - 20190702-6: normalized package name match | Arch Linux sync databases: argon2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A password-hashing function (reference C implementation) | https://github.com/P-H-C/phc-winner-argon2
- zypper - argon2 - 20190702-4.7: normalized package name match | openSUSE Tumbleweed package metadata: argon2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The reference C implementation of Argon2 | https://github.com/P-H-C/phc-winner-argon2
- zypper - argon2-devel - 20190702-4.7: normalized package name match | openSUSE Tumbleweed package metadata: argon2-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for argon2 | https://github.com/P-H-C/phc-winner-argon2


## Combined YAML source

View the package source record on GitHub. [combined/argon2.yml](https://github.com/mxcl/pkgdb/blob/main/combined/argon2.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
