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);
}
扫一扫加微信