pub struct PrecomputedRandomness(pub BigInt);Tuple Fields§
§0: BigIntTrait Implementations§
Source§impl Debug for PrecomputedRandomness
impl Debug for PrecomputedRandomness
Source§impl<'m, 'r, 'd> EncryptWithChosenRandomness<DecryptionKey, RawPlaintext<'m>, &'r PrecomputedRandomness, RawCiphertext<'d>> for Paillier
impl<'m, 'r, 'd> EncryptWithChosenRandomness<DecryptionKey, RawPlaintext<'m>, &'r PrecomputedRandomness, RawCiphertext<'d>> for Paillier
fn encrypt_with_chosen_randomness( dk: &DecryptionKey, m: RawPlaintext<'m>, rn: &'r PrecomputedRandomness, ) -> RawCiphertext<'d>
Source§impl<'m, 'r, 'd> EncryptWithChosenRandomness<EncryptionKey, RawPlaintext<'m>, &'r PrecomputedRandomness, RawCiphertext<'d>> for Paillier
impl<'m, 'r, 'd> EncryptWithChosenRandomness<EncryptionKey, RawPlaintext<'m>, &'r PrecomputedRandomness, RawCiphertext<'d>> for Paillier
fn encrypt_with_chosen_randomness( ek: &EncryptionKey, m: RawPlaintext<'m>, rn: &'r PrecomputedRandomness, ) -> RawCiphertext<'d>
Source§impl PartialEq for PrecomputedRandomness
impl PartialEq for PrecomputedRandomness
Source§impl<'ek, 'r> PrecomputeRandomness<&'ek EncryptionKey, &'r Mpz, PrecomputedRandomness> for Paillier
impl<'ek, 'r> PrecomputeRandomness<&'ek EncryptionKey, &'r Mpz, PrecomputedRandomness> for Paillier
fn precompute(ek: &'ek EncryptionKey, r: &'r BigInt) -> PrecomputedRandomness
impl StructuralPartialEq for PrecomputedRandomness
Auto Trait Implementations§
impl Freeze for PrecomputedRandomness
impl RefUnwindSafe for PrecomputedRandomness
impl Send for PrecomputedRandomness
impl Sync for PrecomputedRandomness
impl Unpin for PrecomputedRandomness
impl UnwindSafe for PrecomputedRandomness
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more