Open Joy-less opened 5 months ago
Seems kind of basic, but the hash is corrupt if a salt isn't supplied.
Argon2.Hash(new Argon2Config { Password = Encoding.UTF8.GetBytes("test") }) // $argon2id$v=19$m=65536,t=3,p=4
Argon2.Hash(new Argon2Config { Password = Encoding.UTF8.GetBytes("test"), Salt = [0, 0, 0, 0, 0, 0, 0, 0] }) // $argon2id$v=19$m=65536,t=3,p=4$AAAAAAAAAAA$997Y916TCd1Fc7bOyGM7ZVs9tnPdyxDLqrm9sYAp0P8
Yep, I get this too
Seems kind of basic, but the hash is corrupt if a salt isn't supplied.