加密解密方法
数据加密解密方法: /// <summary> /// 加密、解密帮助类 /// 版本:2.0 /// <author> /// <name>LingDa</name> /// <date>2018.09.12</date> /// </author> /// </summary> public class DESEncrypt { #region ========加密======== /// <summary> /// 加密 /// </summary> /// <param name="Text"></param> /// <returns></returns> public static string Encrypt(string Text) { return Encrypt(Text, "learun###***"); } /// <summary> /// 加密数据 /// </summary> /// <param name="Text"></param> /// <param name="sKey"></param> /// <returns></returns> public static string Encrypt(string Text, string sKey) { DESCryptoServiceProvider des = new