argon2

Calculate Argon2 cryptographic hashes. More information: <https://github.com/P-H-C/phc-winner-argon2#command-line-utility>.

Install

All systems
curl cmd.cat/argon2.sh
Debian Debian
apt-get install argon2
Ubuntu
apt-get install argon2
Alpine
apk add argon2
Arch Arch Linux
pacman -S argon2
image/svg+xml Kali Linux
apt-get install argon2
Fedora
dnf install argon2
Windows (WSL2)
sudo apt-get update sudo apt-get install argon2
OS X
brew install argon2
Raspbian
apt-get install argon2
Docker
docker run cmd.cat/argon2 argon2 powered by Commando

Calculate Argon2 cryptographic hashes. More information: <https://github.com/P-H-C/phc-winner-argon2#command-line-utility>.

  • Calculate a hash with a password and a salt with the default parameters:
    echo "password" | argon2 "salt_text"
  • Calculate a hash with the specified algorithm:
    echo "password" | argon2 "salt_text" -d|i|id
  • Display the output hash without additional information:
    echo "password" | argon2 "salt_text" -e
  • Calculate a hash with given iteration [t]imes, [m]emory usage, and [p]arallelism parameters:
    echo "password" | argon2 "salt_text" -t 5 -m 20 -p 7

© tl;dr; authors and contributors