コード例 #1
0
 public static string HashPassword(string password, uint rounds)
 {
     return(BCryptAlgorithm.HashPassword(password, BCryptAlgorithm.GenerateSalt(rounds)));
 }
コード例 #2
0
 private static string HashPassword(string password, string salt)
 {
     return(BCryptAlgorithm.HashPassword(password, salt));
 }