namespace Galaeth.Services.Configuration; /// /// How the password should be hashed. /// Refer to https://argon2-cffi.readthedocs.io/en/stable/argon2.html. /// public class PwdHashConfiguration { /// /// Number of threads to use. (Higher the better). /// public int DegreeOfParallelism { get; set; } /// /// Number of iterations over the memory. /// public int NumberOfIterations { get; set; } /// /// Memory used by the algorithm. /// public int MemoryToUseKb { get; set; } /// /// Salt size in bytes. /// public int SaltSize { get; set; } /// /// Hash size in bytes. /// public int HashSize { get; set; } }