/// <exception cref="ArgumentNullException">key is null</exception> public RsaDecipher(PrivateKey key) { Checker.CheckNull(key); degree = key.D.ToBits(); n = key.N; }
/// <exception cref="ArgumentNullException">key is null</exception> public RsaCipher(PublicKey key) { Checker.CheckNull(key); degree = key.E.ToBits(); n = key.N; }