c#实现RSA公钥加密私钥解密代码
代码语言:c#
所属分类:加密解密
代码描述:c#实现RSA公钥加密私钥解密代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Cryptography;
namespace HelloWorldApplication
{
public class HelloWorld
{
private static string publicKey =
"<RSAKeyValue><Modulus>6CdsXgYOyya/yQH"+
"TO96dB3gEurM2UQDDVGrZoe6RcAVTxAqDDf5L"+
"wPycZwtNOx3Cfy44/D5Mj86koPew5soFIz9sx"+
"PAHRF5hcqJoG+q+UfUYTHYCsMH2cnqGVtnQiE"+
"/PMRMmY0RwEfMIo+TDpq3QyO03MaEsDGf13sP"+
"w9YRXiac=</Modulus><Exponent>AQAB</Exponent></RSAKeyValue>";
private static string privateKey =
"<RSAKeyValue><Modulus>6CdsXgYOyya/yQH"+
"TO9.........完整代码请登录后点击上方下载按钮下载查看





网友评论0