pub trait Receiver: ObliviousPrfwhere
Self: Sized,{
// Required methods
fn init<C: AbstractChannel, RNG: CryptoRng + Rng>(
channel: &mut C,
rng: &mut RNG
) -> Result<Self, Error>;
fn receive<C: AbstractChannel, RNG: CryptoRng + Rng>(
&mut self,
channel: &mut C,
inputs: &[Self::Input],
rng: &mut RNG
) -> Result<Vec<Self::Output>, Error>;
}
Expand description
Trait for an oblivious PRF receiver.
Required Methods§
Object Safety§
This trait is not object safe.