コード例 #1
0
 public static string HashPassword(string password, ulong iterations)
 {
     iterations = (ulong)Math.Pow(2, iterations);
     return(SCryptAlgorithm.HashPassword(password, iterations));
 }
コード例 #2
0
 public static string HashPassword(string password)
 {
     return(SCryptAlgorithm.HashPassword(password));
 }