Expand description
entest (entropy test) is a program that applies tests to byte sequences stored in files or streams
Re-exports§
pub use entest::Entest;
pub use entest::EntestResult;
pub use chisqr::ChiSquareCalculation;
pub use mc::MonteCarloCalculation;
pub use mean::MeanCalculation;
pub use sc::SerialCorrelationCoefficientCalculation;
pub use shannon::ShannonCalculation;
Modules§
- chisqr
- the Chi Square test.
- entest
- entest
- mc
- the Monte Carlo test.
- mean
- the Mean entropy test.
- sc
- the Serial Correlation Coefficient test.
- shannon
- the Shannon entropy test.
Macros§
- dec
- macro for create Dec type used by entest
Traits§
- DynEntropy
Tester Deprecated - old-style, deprecated, kept only for compatibility. please use EntropyTest instead.
- Entropy
Test - Tests entropy bits of provided byte stream.
- Entropy
Test Ext - extension of EntropyTest. but it is not dyn-compatible (object-safety).
- Entropy
Tester Deprecated - old-style, deprecated, kept only for compatibility. please use EntropyTest instead.
Functions§
- copy_
from_ slice - copy values from
src
todst
. returns Ok with copied bytes if success. or return Err ifdst.len() < src.len()
- error_
ratio - define expected value is
correct
, then calculate error ratio ofactual
.
Type Aliases§
- Dec
- 64-bit Decimal for lite