Пример #1
0
 public static BigInteger Decrypt(BigInteger message, PrivateKey key)
 {
     return(BigInteger.ModPow(message, key.D, key.Mod));
 }
Пример #2
0
 public Keys(PublicKey Public, PrivateKey Private)
 {
     this.Public  = Public;
     this.Private = Private;
 }