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§
- Entropy
Edge - Represents a detected entropy edge in a sequence of entropy values.
Enums§
- Edge
Type - 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.