Esempio n. 1
0
 public static string HashPassword(string password, int iterations)
 {
     return(Pbkdf2Algorithm.HashPassword(password, iterations));
 }
Esempio n. 2
0
 public static bool VerifyPassword(string plaintext, string hashed)
 {
     return(Pbkdf2Algorithm.VerifyPassword(plaintext, hashed));
 }