Пример #1
0
 /// <summary>
 /// 解密,2014 vc DLL版 推荐使用
 /// </summary>
 public static string of_DecryStrVc(string StrHex, string sKey, string a_encoding = "utf8")
 {
     sysDES lnv_des = new sysDES();
     string ls_rc = lnv_des.DecryStrHex(StrHex, sKey, a_encoding);
     return ls_rc;
 }
Пример #2
0
 /// <summary>
 /// 加密,2014 vc DLL版 推荐使用
 /// </summary>
 public static string of_EncryStrVc(string pToEncrypt, string sKey,string a_encoding="utf8")
 {
     sysDES lnv_des = new sysDES();
     string ls_rc = lnv_des.EncryStrHex(pToEncrypt, sKey, a_encoding);
     return ls_rc;
 }