Trait ocelot::ot::RandomSender
source · [−]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.