Esempio n. 1
0
 public void TestPublicKeyDecrypt()
 {
     using (RSAPublicKey publicKey = new RSAPublicKey(TestCertPublicKey()))
     {
         byte[] data = publicKey.Encrypt(new byte[100]);
         publicKey.Decrypt(data);
     }
 }