Crate entest

Source
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
A macro to construct 256-bit signed D256 decimal from literals in compile time.

Traits§

DynEntropyTesterDeprecated
old-style, deprecated, kept only for compatibility. please use EntropyTest instead.
EntropyTest
Tests entropy bits of provided byte stream.
EntropyTestExt
extension of EntropyTest. but it is not dyn-compatible (object-safety).
EntropyTesterDeprecated
old-style, deprecated, kept only for compatibility. please use EntropyTest instead.

Functions§

error_ratio
define expected value is correct, then calculate error ratio of actual.

Type Aliases§

Dec
Strictly exact precision fixed-size decimal number signed number with 256-bit integer for decimal digits.