Guesswork, large deviations and Shannon entropy
Mark M. Christiansen, Ken R. Duffy

TL;DR
This paper establishes a large deviation principle for guesswork in password security, linking guesswork distribution to Shannon and Rényi entropies, and providing new insights into password guessability as length increases.
Contribution
It demonstrates that the logarithm of guesswork satisfies a Large Deviation Principle, connecting guesswork distribution with entropy measures and revealing structural properties.
Findings
Logarithm of guesswork follows a Large Deviation Principle for long passwords.
The rate function in the LDP reflects the underlying structure of guesswork.
Expected logarithm of guesswork equals the Shannon entropy of the password process.
Abstract
How hard is it guess a password? Massey showed that that the Shannon entropy of the distribution from which the password is selected is a lower bound on the expected number of guesses, but one which is not tight in general. In a series of subsequent papers under ever less restrictive stochastic assumptions, an asymptotic relationship as password length grows between scaled moments of the guesswork and specific R\'{e}nyi entropy was identified. Here we show that, when appropriately scaled, as the password length grows the logarithm of the guesswork satisfies a Large Deviation Principle (LDP), providing direct estimates of the guesswork distribution when passwords are long. The rate function governing the LDP possess a specific, restrictive form that encapsulates underlying structure in the nature of guesswork. Returning to Massey's original observation, a corollary to the LDP shows…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
