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