Esempio n. 1
0
 /// <summary>
 /// 加密方法,默认MD5,如不同请重写
 /// </summary>
 /// <param name="passWord"></param>
 /// <returns></returns>
 public virtual string EncryptPass(string passWord)
 {
     if (SettingConfig.RoleAuthorizeEncryptPass != null)
     {
         return(SettingConfig.RoleAuthorizeEncryptPass(passWord));
     }
     return(CoreHelper.StringHelper.EncryptMD5(passWord));
 }