Trait paillier::traits::Rerandomize
source · pub trait Rerandomize<EK, CT1, CT> {
fn rerandomize(ek: &EK, c: CT1) -> CT;
}
Expand description
Rerandomisation of ciphertext.
Required Methods
sourcefn rerandomize(ek: &EK, c: CT1) -> CT
fn rerandomize(ek: &EK, c: CT1) -> CT
Rerandomise ciphertext c
to hide any history of which homomorphic operations were
used to compute it, making it look exactly like a fresh encryption of the same plaintext.