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