C# implementation of Argon2 pasowrd hashing algorithm based on PHC-winner-argon2. It's a CLI tool that can hash password.
./argon2.exe salt [-i|-d|-id] [-t iterations] [-m memory] [-p parallelism] [-l hash length] [-e|-r] [-v (10|13)]
Password is read from stdin without printing to stdout.
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)
- -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 (13))
This implementation can use AVX2 instructions set for better performance. More info about AVX2