Skip to content

C# implementation of Argon2 password hashing algorithm

License

Notifications You must be signed in to change notification settings

zlociu/Argon2.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Argon2.NET

C# implementation of Argon2 pasowrd hashing algorithm based on PHC-winner-argon2. It's a CLI tool that can hash password.

Usage

./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))

Implementation details

This implementation can use AVX2 instructions set for better performance. More info about AVX2

About

C# implementation of Argon2 password hashing algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages