Crate shannon

Crate shannon 

Source
Expand description

Shannon entropy calculation library.

Provides functions for calculating Shannon entropy of byte sequences, useful for analyzing randomness and information density in data.

Structs§

EntropyEdge
Represents a detected entropy edge in a sequence of entropy values.

Enums§

EdgeType
Represents the type of entropy edge detected.

Functions§

detect_edges
Detects rising and falling edges in a sequence of entropy values.
entropy
Calculates the Shannon entropy of a byte slice.
total_entropy
Calculates the total Shannon entropy of a byte slice.