CollisionEntropy
CollisionEntropy is a concept used in information theory and cryptography to measure the likelihood of two independent inputs producing the same output when passed through a function or hash algorithm. It quantifies how well a function avoids collisions, which are instances where different inputs map to the same output. A function with high collision entropy is considered to have a good distribution of outputs, making it difficult to find two inputs that produce the same hash value.
The theoretical maximum collision entropy for a function with an output of N bits is N bits.
Measuring collision entropy precisely can be challenging. However, it is often approximated by analyzing the distribution