【发布时间】:2010-11-14 16:16:46
【问题描述】:
我想使用 RSA 公钥加密。存储或检索私钥和公钥的最佳方式是什么? XML 在这里是个好主意吗?
如何获得钥匙?
RSAParameters privateKey = RSA.ExportParameters(true);
RSAParameters publicKey = RSA.ExportParameters(false);
因为 RSAParameters 有以下成员:D, DP, DQ, Exponent, InverseQ, Modulus, P, Q
哪一个是关键?
【问题讨论】:
标签: c# .net cryptography rsa