Exemplo n.º 1
0
 public static string GetEncrypt(string str)
 {
     return(DESEncrypt.Encrypt(str));
 }
Exemplo n.º 2
0
 public static bool ChanagePass(string account, string password)
 {
     return(DAL.SysAccount.ChanagePass(account, DESEncrypt.Encrypt(password)));
 }
Exemplo n.º 3
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public static bool Add(SMS.Model.SysAccount account)
 {
     account.PassWord = DESEncrypt.Encrypt(account.PassWord);
     return(DAL.SysAccount.Add(account));
 }