LianLianPay连连支付数字签名验签工具C#源码
LianLianPay连连支付数字签名验签工具C#源码
扫一扫加微信
C# Code:
private void button1_Click(object sender, EventArgs e)
{
//验签
bool signed = ACCP_RSA.SignVerify(txtData.Text, txtSignedData.Text, txtPublicKey.Text);
MessageBox.Show(signed.ToString());
}
private void button2_Click(object sender, EventArgs e)
{
//签名
txtSignResult.Text = ACCP_RSA.SignData(txtSignData.Text, txtPrivateKey.Text);
}
//来源:C/S框架网(www.csframework.com) QQ:23404761
private void button1_Click(object sender, EventArgs e)
{
//验签
bool signed = ACCP_RSA.SignVerify(txtData.Text, txtSignedData.Text, txtPublicKey.Text);
MessageBox.Show(signed.ToString());
}
private void button2_Click(object sender, EventArgs e)
{
//签名
txtSignResult.Text = ACCP_RSA.SignData(txtSignData.Text, txtPrivateKey.Text);
}
//来源:C/S框架网(www.csframework.com) QQ:23404761
扫一扫加微信
版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
NewDoc C/S框架网