string pfxPath = "D:\\CER\\8000013189_pri.pfx";//私钥路径
string pfxPwd = "217526";//私钥密码
string XmlOrJson = "123456";//待加密数据
string data_content = RSAUtil.EncryptRSAByPfx(XmlOrJson, HttpContext.Current.Server.MapPath(pfxPath), pfxPwd);
Log.LogWrite("====加密串:" + data_content);
具体请参考附件:
文档更新时间: 2019-06-17 17:11 作者:support