pub struct Sender<OPRF> { /* private fields */ }
Expand description
KMPRT hashing-based OPPRF sender.
This implements the hashing-based OPPRF sender in Figure 7 of the paper. It uses the table-based one-time OPPRF under-the-hood (Figure 6 of the paper), which itself uses an OPRF.
Implementations§
Auto Trait Implementations§
impl<OPRF> Freeze for Sender<OPRF>where
OPRF: Freeze,
impl<OPRF> RefUnwindSafe for Sender<OPRF>where
OPRF: RefUnwindSafe,
impl<OPRF> Send for Sender<OPRF>where
OPRF: Send,
impl<OPRF> Sync for Sender<OPRF>where
OPRF: Sync,
impl<OPRF> Unpin for Sender<OPRF>where
OPRF: Unpin,
impl<OPRF> UnwindSafe for Sender<OPRF>where
OPRF: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more