pub struct FlagCiphertexts(/* private fields */);Expand description
The basepoint for the chamaleon hash,
and u, y, c.
Implementations§
Trait Implementations§
Source§impl Clone for FlagCiphertexts
impl Clone for FlagCiphertexts
Source§fn clone(&self) -> FlagCiphertexts
fn clone(&self) -> FlagCiphertexts
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlagCiphertexts
impl Debug for FlagCiphertexts
Source§impl MultiFmdScheme<CompactPublicKey, FlagCiphertexts> for MultiFmd2CompactScheme
impl MultiFmdScheme<CompactPublicKey, FlagCiphertexts> for MultiFmd2CompactScheme
fn flag<R: RngCore + CryptoRng>( &mut self, public_key: &CompactPublicKey, rng: &mut R, ) -> FlagCiphertexts
Source§fn detect(
&mut self,
detection_key: &DetectionKey,
flag_ciphers: &FlagCiphertexts,
) -> bool
fn detect( &mut self, detection_key: &DetectionKey, flag_ciphers: &FlagCiphertexts, ) -> bool
Probabilistic detection based on the false-positive rate associated to
detection_key.Source§fn multi_extract(
&self,
secret_key: &FmdSecretKey,
num_detection_keys: usize,
threshold: usize,
leaked_rate: usize,
filtering_rate: usize,
) -> Option<Vec<DetectionKey>>
fn multi_extract( &self, secret_key: &FmdSecretKey, num_detection_keys: usize, threshold: usize, leaked_rate: usize, filtering_rate: usize, ) -> Option<Vec<DetectionKey>>
Returns
None if (leaked_rate,filtering_rate) does not constitute a
valid pair of rates for the given num_detection_keys and threshold.Source§impl PartialEq for FlagCiphertexts
impl PartialEq for FlagCiphertexts
impl Eq for FlagCiphertexts
impl StructuralPartialEq for FlagCiphertexts
Auto Trait Implementations§
impl Freeze for FlagCiphertexts
impl RefUnwindSafe for FlagCiphertexts
impl Send for FlagCiphertexts
impl Sync for FlagCiphertexts
impl Unpin for FlagCiphertexts
impl UnwindSafe for FlagCiphertexts
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