public static string HashPassword(string password, uint rounds) { return(BCryptAlgorithm.HashPassword(password, BCryptAlgorithm.GenerateSalt(rounds))); }
private static string HashPassword(string password, string salt) { return(BCryptAlgorithm.HashPassword(password, salt)); }