Struct i2p_elgamal::Encryptor[][src]

pub struct Encryptor(_);

ElGamal encryption, as specified in section 8.4.1 of the Handbook of Applied Cryptography.

Methods

impl Encryptor
[src]

ElGamal encryption using I2P's message and ciphertext encoding schemes.

Trait Implementations

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

Performs the conversion.

Auto Trait Implementations

impl Send for Encryptor

impl Sync for Encryptor