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]

Formats the value using the given formatter.

impl<I: Clone> Clone for DecryptionKey<I>
[src]

Returns a copy of the value. Read more

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]

Performs the conversion.