Abstract
This paper introduces the first three-party password-authenticated key exchange (3PAKE) protocol built on lattice-based cryptography. By leveraging the Ring Learning With Errors (RLWE) problem, the authors provide a post-quantum secure method for two clients to establish a session key via a trusted server using only simple passwords. Experimental results show that this protocol outperforms traditional elliptic curve methods by nearly two orders of magnitude, offering a viable path for secure communication in the quantum era.
Introduction
Password-Authenticated Key Exchange (PAKE) is a fundamental security mechanism that allows users to derive high-entropy session keys from low-entropy passwords. While two-party PAKE is widely deployed, it faces scalability challenges in large networks where every user would need to manage a unique password for every potential peer. Three-party PAKE (3PAKE) addresses this by introducing a trusted server that shares a unique password with each client, acting as a bridge to facilitate direct key establishment between them.
With the advent of quantum computing, traditional 3PAKE protocols relying on the hardness of factoring or discrete logarithms (such as RSA and ECC) are becoming obsolete. This research fills a critical gap by proposing a 3PAKE protocol that is both efficient and resilient to quantum attacks, moving beyond the limitations of existing "post-quantum" attempts that often lack formal security proofs or rely on unrealistic assumptions.
Methodology
The proposed protocol is constructed using lattice-based cryptography, specifically the Ring Learning With Errors (RLWE) problem, which is considered computationally hard even for quantum adversaries.
Technical Components
- RLWE-PAK Foundation: The protocol is an evolution of previous two-party lattice-based PAKE research.
- Reconciliation Functions: To manage the inherent "noise" in lattice-based schemes, the authors utilize specific functions (
ChaandMod2) to help clients reconcile their values. This ensures both parties agree on the exact same bit string without leaking the final key. - Security Proof: The authors provide a formal security proof within the Random Oracle Model. Using a sequence of "games," they demonstrate that an adversary cannot distinguish the session key from a random string, even with the ability to intercept messages or attempt password guessing.
Evaluation Framework
Performance was evaluated using the LatticeCrypto C-based library for the proposed RLWE-3PAKE and the MIRACL library for a benchmark ECC-based 3PAKE protocol. Parameters were set at $n = 1024$ and $q = 12289$, providing a security level equivalent to 3072-bit RSA.
Key Results and Insights
The implementation results reveal a significant performance advantage for lattice-based methods. The proposed RLWE-3PAKE protocol achieved a total execution time of just 0.259 ms, while the benchmark ECC-based protocol required 53.302 ms. This represents a speed increase of approximately 205 times.
This efficiency stems from the nature of lattice operations, which primarily involve polynomial addition and multiplication—tasks that are highly efficient on modern CPUs compared to the heavy point multiplications required by ECC. Furthermore, the protocol is provably secure against both online and offline dictionary attacks and provides "weak perfect forward secrecy," ensuring that past session keys remain secure even if a password is compromised later.
Conclusion and Future Work
While the protocol demonstrates exceptional performance and post-quantum resilience, several avenues for future research remain. The current security proof is conducted in the standard Random Oracle Model; transitioning this to the Quantum Random Oracle Model (QROM) is a necessary step for complete quantum assurance. Additionally, the authors suggest extending this 3-party logic to "Group PAKE" settings to support secure communication among larger sets of participants.
Summary updated