Trait ocelot::ot::RandomSender
source · pub trait RandomSender: Senderwhere
Self: Sized,{
// Required method
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§
Object Safety§
This trait is not object safe.