pub trait Receiver: ObliviousPrfwhere
    Self: Sized,
{ 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

Runs any one-time initialization.

Runs the oblivious PRF on inputs inputs, returning the OPRF outputs.

Implementors