摘要:
1.用RSACryptoServiceProvider签名验签, 私钥加密,公钥验证RSACryptoServiceProvider 1 //生成公钥私钥对 2 byte[] messagebytes = Encoding.UTF8.GetBytes("luo罗"); 3 RSACryptoServiceProvider oRSA = new RSACryptoServiceProvider(); 4 string privatekey = oRSA.ToXmlString(true); 5 string publickey = oRSA.ToXmlString(false 阅读全文