Struct i2p_elgamal::PublicKey [−][src]
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]
impl<'a> From<&'a PublicKey> for Encryptor
impl Clone for PublicKey
[src]
impl Clone for PublicKey
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for PublicKey
[src]
impl Debug for PublicKey
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl PartialEq for PublicKey
[src]
impl PartialEq for PublicKey