Пример #1
0
 public void EncryptData01()
 {
     RSA rSA;
     string s;
     rSA = new RSA();
     s = rSA.EncryptData("data", "");
 }
Пример #2
0
 public void EncryptData03()
 {
     RSA rSA;
     string s;
     rSA = new RSA();
     s = rSA.EncryptData("data", (string)null);
 }
Пример #3
0
 public void EncryptData02()
 {
     RSA rSA;
     string s;
     rSA = new RSA();
     s = rSA.EncryptData("data", "<invalidxml>");
 }
Пример #4
0
 public void EncryptData04()
 {
     RSA rSA;
     string s;
     rSA = new RSA();
     s = rSA.EncryptData(null, rSA.GetPrivateKey());
 }