Skip to main content

quick_entropy_check

Function quick_entropy_check 

Source
pub fn quick_entropy_check(data: &[u8]) -> bool
Expand description

Quick entropy validation for small data samples

This function provides a quick entropy validation suitable for small data samples or when full validation is not required.

§Arguments

  • data - The entropy data to validate

§Returns

Returns true if the entropy appears to be of good quality, false otherwise.