pub fn entropy(bytes: &[u8]) -> f64
计算标准的单字节香农熵 (1-gram Entropy)。
评估输入序列中各个字节(0-255)出现的均匀程度。 返回值区间通常为 [0.0, 8.0] (因为 2^8 = 256)。
[0.0, 8.0]
bytes