Ejemplo n.º 1
0
 /// <summary>
 /// 3DES 加密(基于DES,对一块数据用三个不同的密钥进行三次加密,强度更高)
 /// </summary>
 /// <param name="encryptString">待加密密文</param>
 /// <param name="encryptKey1">密钥一</param>
 /// <param name="encryptKey2">密钥二</param>
 /// <param name="encryptKey3">密钥三</param>
 /// <returns>returns</returns>
 public static string DES3Encrypt(this string encryptString, string encryptKey1, string encryptKey2, string encryptKey3)
 {
     return(CryptoUtility.DES3Encrypt(encryptString, encryptKey1, encryptKey2, encryptKey3));
 }