Exemple #1
0
 public static string MD5EncryptPassword(string password)
 {
     if (password == null)
     {
         throw new ArgumentNullException("password");
     }
     return(TextEncrypt.MD5EncryptPassword(password, MD5ResultMode.Strong));
 }
Exemple #2
0
 public static string EncryptPassword(string password)
 {
     if (password == null)
     {
         throw new ArgumentNullException("password");
     }
     return(TextEncrypt.MD5EncryptPassword(password));
 }
Exemple #3
0
 public static string MD5(string s)
 {
     return(TextEncrypt.MD5EncryptPassword(s));
 }