Struct libpaillier::EncryptionKey [−][src]
pub struct EncryptionKey { /* fields omitted */ }Expand description
A Paillier encryption key
Implementations
Encrypt a given message with the encryption key and optionally use a random value x must be less than N
Combines two Paillier ciphertexts commonly denoted in text as c1 \bigoplus c2
Equivalent to adding two Paillier exponents
Convert a byte representation to a encryption key
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for EncryptionKeyimpl Send for EncryptionKeyimpl Sync for EncryptionKeyimpl Unpin for EncryptionKeyimpl UnwindSafe for EncryptionKeyBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V