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