Struct i2p_elgamal::PublicKey[][src]

pub struct PublicKey(pub [u8; 256]);

The public component of an ElGamal encryption keypair. Represents only the exponent, not the primes (which are constants).

Trait Implementations

impl<'a> From<&'a PublicKey> for Encryptor
[src]

Performs the conversion.

impl Clone for PublicKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PublicKey
[src]

Formats the value using the given formatter. Read more

impl PartialEq for PublicKey
[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

impl Send for PublicKey

impl Sync for PublicKey