argon2
brew install argon2
v20190702_1
CC0-1.0 OR Apache-2.0
Password hashing library and CLI tool implementing the Argon2 memory-hard function (PHC winner).
Why you might care
Argon2 is the modern standard for password hashing, deliberately memory-hard to resist GPU/ASIC attacks. Use this for hashing passwords in credential storage or key derivation; it offers three variants (Argon2i for passwords, Argon2d for crypto, Argon2id for general use) and is faster than bcrypt or scrypt while maintaining security. The reference C implementation with both library and command-line interfaces.
5.3k
30-day installs · #567
20.4k
90-day · #513
72.5k
365-day · #531
5.3k
★ GitHub stars · updated 1y ago
Links
- https://github.com/P-H-C/phc-winner-argon2
- GitHub: P-H-C/phc-winner-argon2
- Brew formula source: Formula/a/argon2.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"bcrypt",
"scrypt",
"libsodium"
],
"build_dependencies": [],
"categories": [
"crypto",
"hash",
"library"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Password hashing library and CLI utility",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:35:30+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "argon2",
"github_default_branch": "master",
"github_last_commit_at": "2024-08-06T13:28:45Z",
"github_readme_excerpt": "# Argon2\n\n[](https://travis-ci.org/P-H-C/phc-winner-argon2)\n[](https://ci.appveyor.com/project/P-H-C/phc-winner-argon2)\n[](https://codecov.io/github/P-H-C/phc-winner-argon2?branch=master)\n\nThis is the reference C implementation of Argon2, the password-hashing\nfunction that won the [Password Hashing Competition\n(PHC)](https://password-hashing.net).\n\nArgon2 is a password-hashing function that summarizes the state of the\nart in the design of memory-hard functions and can be used to hash\npasswords for credential storage, key derivation, or other applications.\n\nIt has a simple design aimed at the highest memory filling rate and\neffective use of multiple computing units, while still providing defense\nagainst tradeoff attacks (by exploiting the cache and memory organization\nof the recent processors).\n\nArgon2 has three variants: Argon2i, Argon2d, and Argon2id. Argon2d is faster\nand uses data-depending memory access, which makes it highly resistant\nagainst GPU cracking attacks and suitable for applications with no threats\nfrom side-channel timing attacks (eg. cryptocurrencies). Argon2i instead\nuses data-independent memory access, which is preferred for password\nhashing and password-based key derivation, but it is slower as it makes\nmore passes over the memory to protect from tradeoff attacks. Argon2id is a\nhybrid of Argon2i and Argon2d, using a combination of data-depending and\ndata-independent memory accesses, which gives some of Argon2i\u0027s resistance to\nside-channel cache timing attacks and much of Argon2d\u0027s resistance to GPU\ncracking attacks.\n\nArgon2i, Argon2d, and Argon2id are parametrized by:\n\n* A **time** cost, which defines the amount of computation realized and\n therefore the execution time, given in number of iter",
"github_repo": "P-H-C/phc-winner-argon2",
"github_stars": 5314,
"github_topics": [],
"homepage": "https://github.com/P-H-C/phc-winner-argon2",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 5261,
"installs_365d": 72529,
"installs_90d": 20356,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "CC0-1.0 OR Apache-2.0",
"llm_generated_at": "2026-06-20T23:45:40+00:00",
"llm_model": "claude-haiku-4-5",
"name": "argon2",
"oldnames": [],
"one_liner": "Password hashing library and CLI tool implementing the Argon2 memory-hard function (PHC winner).",
"optional_dependencies": [],
"rank_30d": 567,
"rank_365d": 531,
"rank_90d": 513,
"raw_hash": "277818b342a24be8",
"recommended_dependencies": [],
"revision": 1,
"ruby_source_path": "Formula/a/argon2.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "20190702",
"versioned_formulae": [],
"why_use_this": "Argon2 is the modern standard for password hashing, deliberately memory-hard to resist GPU/ASIC attacks. Use this for hashing passwords in credential storage or key derivation; it offers three variants (Argon2i for passwords, Argon2d for crypto, Argon2id for general use) and is faster than bcrypt or scrypt while maintaining security. The reference C implementation with both library and command-line interfaces."
}