pub struct MinEntropyReport {
pub shannon_entropy: f64,
pub min_entropy: f64,
pub mcv_estimate: f64,
pub mcv_p_upper: f64,
pub collision_estimate: f64,
pub markov_estimate: f64,
pub compression_estimate: f64,
pub t_tuple_estimate: f64,
pub samples: usize,
}Expand description
Min-entropy analysis report with individual estimator results.
Fields§
§shannon_entropy: f64Shannon entropy (bits/byte, max 8.0). Upper bound, not conservative.
min_entropy: f64Combined min-entropy estimate (bits/byte). Most conservative across all estimators.
mcv_estimate: f64Most Common Value estimator (NIST 6.3.1)
mcv_p_upper: f64Upper bound on max probability from MCV
collision_estimate: f64Collision estimator (NIST 6.3.2)
markov_estimate: f64Markov estimator (NIST 6.3.3)
compression_estimate: f64Compression estimator (NIST 6.3.4)
t_tuple_estimate: f64t-Tuple estimator (NIST 6.3.5)
samples: usizeNumber of samples analyzed
Trait Implementations§
Source§impl Clone for MinEntropyReport
impl Clone for MinEntropyReport
Source§fn clone(&self) -> MinEntropyReport
fn clone(&self) -> MinEntropyReport
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 MinEntropyReport
impl Debug for MinEntropyReport
Auto Trait Implementations§
impl Freeze for MinEntropyReport
impl RefUnwindSafe for MinEntropyReport
impl Send for MinEntropyReport
impl Sync for MinEntropyReport
impl Unpin for MinEntropyReport
impl UnwindSafe for MinEntropyReport
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