Beispiel #1
0
        /// <summary>
        /// 登录时使用的加密方法
        /// </summary>
        /// <param name="decryptString"></param>
        /// <param name="encryptKey"></param>
        /// <returns></returns>
        public string LoginDecrypt(string decryptString, string encryptKey)
        {
            return(SecurityHelper.DecryptDES(decryptString, encryptKey));

            //return SecurityHelper.DecryptDES(decryptString, encryptKey);
        }
Beispiel #2
0
 /// <summary>
 /// 登录时使用的加密方法
 /// </summary>
 /// <param name="encryptString"></param>
 /// <param name="encryptKey"></param>
 /// <returns></returns>
 public string LoginEncrypt(string encryptString, string encryptKey)
 {
     //return SecurityHelper.Encrypt(encryptString);
     return(SecurityHelper.EncryptDES(encryptString, encryptKey));
 }