KyFrog: A High-Security LWE-Based KEM Inspired by ML-KEM
Victor Duarte Melo, Willian J. Buchanan
TL;DR
KyFrog tackles the need for post-quantum KEMs with exceptionally large security margins by adopting an LWE-based construction with $n=1024$, $q=1103$, and Gaussian noise $\sigma_s=\sigma_e=1.4$, paired with a Fujisaki–Okamoto transform. It prioritizes security margin over ciphertext efficiency, yielding an estimated 325-bit classical and quantum security at the cost of a ~0.5 MiB ciphertext. A dedicated parameter-search tool, KyFrog Hunter, automates conservative exploration of admissible settings, producing a concrete open-source reference implementation and reproducible benchmarks. The work provides a practical demonstration of deploying highly conservative cryptographic parameters for long-term archival and key-wrapping use, while acknowledging trade-offs in bandwidth and outlining future work in compression, protocol integration, and broader parameter exploration.
Abstract
KyFrog is a conservative Learning-with-Errors (LWE) key-encapsulation mechanism designed to explore an alternative operating point compared to schemes with relatively small public keys and ciphertexts. KyFrog uses a larger dimension ($n = 1024$) and a small prime modulus $q = 1103$, together with narrow error distributions with standard deviations $σ_s = σ_e = 1.4$, to target approximately $2^{325}$ classical and quantum security against state-of-the-art lattice attacks under standard cost models, as estimated using the Lattice Estimator. The price paid for this security margin is an extremely large KEM ciphertext (about 0.5 MiB), while public and secret keys remain in the same ballpark as ML-KEM. We describe the design rationale, parameter search methodology, and implementation details of KyFrog, and we compare its asymptotic security and concrete parameter sizes with the ML-KEM standard. All code and data for this work are released as free and open-source software, with the full C++23 implementation and experimental scripts available at: https://github.com/victormeloasm/kyfrog
