argon2
« Back to VersTracker
Description:
Password hashing library and CLI utility
Type: Formula  |  Latest Version: 20190702@1  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: cryptography security password hashing cli
Install: brew install argon2
About:
Argon2 is a memory-hard key derivation function that won the Password Hashing Competition in 2015. It is designed to resist GPU cracking attacks and side-channel attacks, making it a modern standard for secure password storage. The package includes both a C library for integration and a command-line utility for hashing and verification.
Key Features:
  • Memory-hard algorithm resistant to GPU/ASIC cracking
  • Three variants (Argon2d, Argon2i, Argon2id) for different security trade-offs
  • Tunable parameters for memory cost, time cost, and parallelism
  • Includes CLI tool for easy password hashing and verification
Use Cases:
  • Securely hash and verify user passwords in applications
  • Derive cryptographic keys from passwords for encryption
  • Benchmark and test password hashing parameters for security hardening
Alternatives:
  • bcrypt – Older but widely supported; less memory-hard than Argon2
  • scrypt – Memory-hard but more complex to tune and potentially slower on some hardware
  • PBKDF2 – CPU-only, not memory-hard; vulnerable to GPU attacks without additional hardening
License: Apache-2.0
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, arm64_big_sur, sonoma, ventura, monterey, big_sur, catalina, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit