[Paper Review] Towards Human Computable Passwords
This paper proposes human-computable password schemes where users authenticate using mental arithmetic on secret mappings, enabling strong security even after many breaches. By leveraging a semi-trusted computer to display public challenges and a function $ f: \mathbb{Z}_d^k \to \mathbb{Z}_d $ that is easy for humans to compute, the scheme ensures that statistical adversaries require $ \tilde{\Omega}(n^{s(f)}) $ challenge-response pairs to recover the secret mapping $ \sigma $, with security parameter $ s(f) = \min\{k_1+1, (k_2+1)/2\} $ for a family of functions $ f_{k_1,k_2} $.
An interesting challenge for the cryptography community is to design authentication protocols that are so simple that a human can execute them without relying on a fully trusted computer. We propose several candidate authentication protocols for a setting in which the human user can only receive assistance from a semi-trusted computer --- a computer that stores information and performs computations correctly but does not provide confidentiality. Our schemes use a semi-trusted computer to store and display public challenges $C_i\in[n]^k$. The human user memorizes a random secret mapping $σ:[n] ightarrow\mathbb{Z}_d$ and authenticates by computing responses $f(σ(C_i))$ to a sequence of public challenges where $f:\mathbb{Z}_d^k ightarrow\mathbb{Z}_d$ is a function that is easy for the human to evaluate. We prove that any statistical adversary needs to sample $m= ildeΩ(n^{s(f)})$ challenge-response pairs to recover $σ$, for a security parameter $s(f)$ that depends on two key properties of $f$. To obtain our results, we apply the general hypercontractivity theorem to lower bound the statistical dimension of the distribution over challenge-response pairs induced by $f$ and $σ$. Our lower bounds apply to arbitrary functions $f $ (not just to functions that are easy for a human to evaluate), and generalize recent results of Feldman et al. As an application, we propose a family of human computable password functions $f_{k_1,k_2}$ in which the user needs to perform $2k_1+2k_2+1$ primitive operations (e.g., adding two digits or remembering $σ(i)$), and we show that $s(f) = \min\{k_1+1, (k_2+1)/2\}$. For these schemes, we prove that forging passwords is equivalent to recovering the secret mapping. Thus, our human computable password schemes can maintain strong security guarantees even after an adversary has observed the user login to many different accounts.
Motivation & Objective
- Address the challenge of designing usable, secure password management schemes that remain secure even after an adversary observes many user authentication sessions.
- Develop a protocol where users can authenticate using only mental computation, relying on a semi-trusted computer for challenge delivery but not for confidentiality.
- Ensure that the scheme maintains strong security guarantees even when an adversary observes hundreds of challenge-response pairs.
- Design functions that are simple for humans to compute (e.g., digit addition modulo 10) while enabling formal security proofs.
- Establish a general security framework based on statistical dimension and hypercontractivity to analyze the hardness of recovering the secret mapping $ \sigma $.
Proposed method
- Users memorize a secret mapping $ \sigma: [n] \to \mathbb{Z}_d $, where $ d = 10 $ for human familiarity.
- A semi-trusted computer displays public challenges $ C_i \in [n]^k $, which are sequences of indices or images.
- Users compute responses $ f(\sigma(C_i)) $ using a human-computable function $ f: \mathbb{Z}_d^k \to \mathbb{Z}_d $, such as modular addition of selected secret digits.
- The function $ f_{k_1,k_2} $ is designed to require only $ 2k_1 + 2k_2 + 1 $ primitive operations (e.g., digit addition modulo 10), enabling efficient mental computation.
- Security is analyzed via the statistical dimension of the challenge-response distribution, bounded using the general hypercontractivity theorem.
- Lower bounds on the number of challenge-response pairs needed to recover $ \sigma $ are derived based on the function’s structural properties, with $ s(f) = \min\{k_1+1, (k_2+1)/2\} $.
Experimental results
Research questions
- RQ1How can a password scheme be designed so that users can authenticate using only mental computation, without relying on a fully trusted computer?
- RQ2What is the minimum number of challenge-response pairs an adversary needs to recover the secret mapping $ \sigma $, and how does this depend on the function $ f $?
- RQ3Can a human-computable function $ f $ be constructed such that forging passwords is equivalent to recovering $ \sigma $, even after observing many authentications?
- RQ4How does the security of the scheme scale with the complexity of $ f $, and what role do properties like $ k_1 $ and $ k_2 $ play in determining the security parameter $ s(f) $?
- RQ5Can the statistical dimension of the challenge-response distribution be bounded using hypercontractivity to prove strong security against statistical adversaries?
Key findings
- Any statistical adversary requires $ \tilde{\Omega}(n^{s(f)}) $ challenge-response pairs to recover the secret mapping $ \sigma $, where $ s(f) $ is a function of the structure of $ f $.
- For the family of functions $ f_{k_1,k_2} $, the security parameter is $ s(f) = \min\{k_1+1, (k_2+1)/2\} $, ensuring strong security even after many breaches.
- Forging passwords in the scheme is computationally equivalent to recovering $ \sigma $, meaning no shortcut attacks exist beyond breaking the secret mapping.
- User rehearsal requirements are quantified: for $ n = 100 $, very active users need an average of 0.396 extra rehearsals per year, while infrequent users require up to 70.7, indicating low cognitive load for typical use.
- Security remains strong even with $ \lambda = 10 $ challenges per account, as the scheme maintains high uncertainty about $ \sigma $ even after observing 100+ authentications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.