public static string HashPassword(string password, ulong iterations) { iterations = (ulong)Math.Pow(2, iterations); return(SCryptAlgorithm.HashPassword(password, iterations)); }
public static string HashPassword(string password) { return(SCryptAlgorithm.HashPassword(password)); }