SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

Massey's guessing bound

Massey's guessing bound is the result of James L. Massey's 1994 paper "Guessing and Entropy", which asks whether the entropy H(X) of a discrete random variable determines interesting upper or lower bounds on E(G), the average number of guesses needed to find the value of X by asking whether X took on its i-th possible value until the answer is yes. Massey says the problem arises, for instance, when a cryptanalyst must try out possible secret keys one at a time after narrowing the possibilities by cryptanalysis. The strategy that minimizes E(G) guesses the possible values in order of decreasing probability.1

The paper proves a lower bound: E(G) is at least (1/4)2^H(X) + 1, provided H(X) is at least 2 bits. The bound is tight within a factor of 4/e when X is geometrically distributed. The argument uses the fact that, for a given mean, the geometric distribution uniquely maximizes entropy among distributions, a standard calculus of variations argument that Massey attributes to Jaynes's treatment of the Boltzmann distribution.1

The second result is a limit. For every mean A greater than 1 and every integer L greater than 2A - 1, Massey gives a monotone distribution with mean A whose entropy tends to zero as L grows. Hence E(G) may be arbitrarily large while H(X) is an arbitrarily small positive number, and there is no interesting upper bound on E(G) in terms of H(X).1 A high entropy therefore guarantees a minimum expected effort, but a low entropy does not show that guessing is easy.

Standards that measure guessing risk use different quantities. NIST SP 800-90B measures entropy sources by min-entropy, the negative log of the largest probability, and its Appendix D shows that min-entropy is within one bit of the base-2 logarithm of the expected work per success of an optimal guessing attack.2

Source · Guessing and Entropy (opens in a new tab) · J. L. Massey, Proceedings of the IEEE International Symposium on Information Theory, 1994, p. 204

References

  1. Guessing and Entropy (opens in a new tab) · J. L. Massey, Proceedings of the IEEE International Symposium on Information Theory, 1994, p. 204; ETH Zurich archive copy ↩ ↩ ↩
  2. NIST SP 800-90B, Recommendation for the Entropy Sources Used for Random Bit Generation (opens in a new tab) · National Institute of Standards and Technology · January 10, 2018 ↩

Research articles

See what connects to it on the map of ideas →

See also