摘要:
用到的是:BouncyCastle.Crypto.dll类库官网:http://www.bouncycastle.org/csharp/生成密钥对 RsaKeyPairGenerator keyGenerator = new RsaKeyPairGenerator(); //密钥构造器 RsaKeyGenerationParameters p = new RsaKeyGenerationParameters(BigInteger.ValueOf(3), new SecureRandom(), 1024, 25); //初始化密钥... 阅读全文