Struct paillier::MinimalEncryptionKey[][src]

pub struct MinimalEncryptionKey { /* fields omitted */ }

Public encryption key with no precomputed values.

Used e.g. for serialization of EncryptionKey.

Trait Implementations

impl<'kp> From<&'kp Keypair> for MinimalEncryptionKey
[src]

Performs the conversion.

impl<'e> From<&'e EncryptionKey> for MinimalEncryptionKey
[src]

Performs the conversion.

impl<'e> From<MinimalEncryptionKey> for EncryptionKey
[src]

Performs the conversion.

impl Clone for MinimalEncryptionKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MinimalEncryptionKey
[src]

Formats the value using the given formatter. Read more

impl PartialEq for MinimalEncryptionKey
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations