Struct paillier::core::crt::DecryptionKey
[−]
[src]
pub struct DecryptionKey<I> { /* fields omitted */ }
Decryption key that should be kept private.
Trait Implementations
impl<I: Debug> Debug for DecryptionKey<I>
[src]
impl<I: Clone> Clone for DecryptionKey<I>
[src]
fn clone(&self) -> DecryptionKey<I>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<I> DecryptionKey for DecryptionKey<I>
[src]
impl<'p, 'q, I> From<(&'p I, &'q I)> for DecryptionKey<I> where I: Clone,
I: One,
I: ModularArithmetic,
&'a I: Sub<I, Output=I>,
&'a I: Mul<&'b I, Output=I>,
I: Sub<&'b I, Output=I>,
I: Rem<&'b I, Output=I>,
I: Div<&'b I, Output=I>
[src]
I: One,
I: ModularArithmetic,
&'a I: Sub<I, Output=I>,
&'a I: Mul<&'b I, Output=I>,
I: Sub<&'b I, Output=I>,
I: Rem<&'b I, Output=I>,
I: Div<&'b I, Output=I>
fn from((p, q): (&I, &I)) -> DecryptionKey<I>
Performs the conversion.