Trait ocelot::ot::RandomReceiver
source · [−]pub trait RandomReceiver: Receiverwhere
Self: Sized,{
fn receive_random<C: AbstractChannel, RNG: CryptoRng + Rng>(
&mut self,
channel: &mut C,
deltas: &[bool],
rng: &mut RNG
) -> Result<Vec<Self::Msg>, Error>;
}
Expand description
Trait for one-out-of-two random oblivious transfer from the receiver’s point-of-view.