[−][src]Trait paillier_common::traits::Encrypt
Encryption of plaintext.
Required methods
Loading content...Implementors
impl<'m, 'd> Encrypt<DecryptionKey, RawPlaintext<'m>, RawCiphertext<'d>> for Paillier
[src]
fn encrypt(dk: &DecryptionKey, m: RawPlaintext<'m>) -> RawCiphertext<'d>
[src]
impl<'m, 'd> Encrypt<EncryptionKey, RawPlaintext<'m>, RawCiphertext<'d>> for Paillier
[src]
fn encrypt(ek: &EncryptionKey, m: RawPlaintext<'m>) -> RawCiphertext<'d>
[src]
impl<'m, EK> Encrypt<EK, &'m [u64], EncodedCiphertext<Vec<u64>>> for Paillier where
Self: Encrypt<EK, RawPlaintext<'p>, RawCiphertext<'c>>,
[src]
Self: Encrypt<EK, RawPlaintext<'p>, RawCiphertext<'c>>,
impl<EK> Encrypt<EK, u64, EncodedCiphertext<u64>> for Paillier where
Self: Encrypt<EK, RawPlaintext<'p>, RawCiphertext<'c>>,
[src]
Self: Encrypt<EK, RawPlaintext<'p>, RawCiphertext<'c>>,