Ejemplo n.º 1
0
 public static string EncryptPassword(string password)
 {
     if (string.IsNullOrWhiteSpace(password))
     {
         return(string.Empty);
     }
     else
     {
         return(TextHelper.MD5(TextHelper.MD5(password).ToUpper() + "!!!!").ToUpper());
     }
 }
Ejemplo n.º 2
0
 public static string GetOrderSign(string orderNo, int status)
 {
     return(TextHelper.MD5(orderNo + status + signKey));
 }
Ejemplo n.º 3
0
 public static string GetCancelPaySign(string orderNo)
 {
     return(TextHelper.MD5(orderNo + "cancel_pay" + signKey));
 }