OS Manuals

/usr/bin/argon2

The password hash Argon2, winner of PHC

From argon2 20190702-r9 (os), captured 2026-11-05 by running argon2 -h (exit 1). permalink

Usage:  /usr/bin/argon2 [-h] salt [-i|-d|-id] [-t iterations] [-m log2(memory in KiB) | -k memory in KiB] [-p parallelism] [-l hash length] [-e|-r] [-v (10|13)]
	Password is read from stdin
Parameters:
	salt		The salt to use, at least 8 characters
	-i		Use Argon2i (this is the default)
	-d		Use Argon2d instead of Argon2i
	-id		Use Argon2id instead of Argon2i
	-t N		Sets the number of iterations to N (default = 3)
	-m N		Sets the memory usage of 2^N KiB (default 12)
	-k N		Sets the memory usage of N KiB (default 4096)
	-p N		Sets parallelism to N threads (default 1)
	-l N		Sets hash output length to N bytes (default 32)
	-e		Output only encoded hash
	-r		Output only the raw bytes of the hash
	-v (10|13)	Argon2 version (defaults to the most recent version, currently 13)
	-h		Print /usr/bin/argon2 usage
Options (12)
OptionDescriptionSource
-iUse Argon2i (this is the default)help
-dUse Argon2d instead of Argon2ihelp
-idUse Argon2id instead of Argon2ihelp
-t NSets the number of iterations to N (default = 3)help
-m NSets the memory usage of 2^N KiB (default 12)help
-k NSets the memory usage of N KiB (default 4096)help
-p NSets parallelism to N threads (default 1)help
-l NSets hash output length to N bytes (default 32)help
-eOutput only encoded hashhelp
-rOutput only the raw bytes of the hashhelp
-v (10|13)Argon2 version (defaults to the most recent version, currently 13)help
-hPrint /usr/bin/argon2 usagehelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.