Title :
Guesswork, Large Deviations, and Shannon Entropy
Author :
Christiansen, Mark M. ; Duffy, Ken R.
Author_Institution :
Hamilton Inst., Nat. Univ. of Ireland, Maynooth, Ireland
Abstract :
How hard is it to guess a password? Massey showed that a simple function of 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é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 possesses 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 that expectation of the logarithm of the guesswork is the specific Shannon entropy of the password selection process.
Keywords :
authorisation; entropy; Rényi entropy; Shannon entropy; asymptotic relationship; guesswork distribution; large deviation principle; password selection process; restrictive stochastic assumption; Approximation methods; Atmospheric measurements; Complexity theory; Entropy; Equations; Markov processes; Upper bound; Guesswork; Rényi entropy; Shannon entropy; large deviations;
Journal_Title :
Information Theory, IEEE Transactions on
DOI :
10.1109/TIT.2012.2219036