pub trait RandomSender: Senderwhere
    Self: Sized,
{ fn send_random<C: AbstractChannel, RNG: CryptoRng + Rng>(
        &mut self,
        channel: &mut C,
        m: usize,
        rng: &mut RNG
    ) -> Result<Vec<(Self::Msg, Self::Msg)>, Error>; }
Expand description

Trait for one-out-of-two random oblivious transfer from the sender’s point-of-view.

Required Methods

Random oblivious transfer send. Returns a vector of tuples containing the two random messages.

Implementors