Function cryptoballot::mix [−][src]
pub fn mix<R: Rng + CryptoRng>(
rng: &mut R,
ciphertexts: Vec<Ciphertext>,
encryption_key: &EncryptionPublicKey,
trustee_index: u8,
mix_index: u8,
contest_index: u32,
batch: u32
) -> Result<(Vec<Ciphertext>, ShuffleProof), Error>
Expand description
Do a mixnet shuffle This is an expensive and time-consuming operation, so should ideally be offloaded to it’s own thread