Cryptographic functions and types simplified and tailed for ease-of-use in applications
$ dotnet add package U32.CryptographyCryptographic functions and types simplified and tailed for ease-of-use in applications.
Create a hash from a string:
var hash = Argon2Hash.FromArgon2D(Encoding.UTF8.GetBytes(password));
Create a hash from bytes (after they have been hashed):
var hash = Argon2Hash.FromBytes(source.Bytes, source.Salt.Length);