예제 #1
0
 public string Decrypt(int[] CryptoText, key PrivateKey)
 {
     return(Decrypt(CryptoText, PrivateKey.GetKey(), PrivateKey.GetN()));
 }
예제 #2
0
        public void EditKeys(key k)
        {
            this.KEY = k.KEY;

            this.n = k.n;
        }
예제 #3
0
 public int[] Encrypt(string str, key PublicKey)
 {
     return(Encrypt(str, PublicKey.GetKey(), PublicKey.GetN()));
 }