A team of cryptographic researchers from the Chinese Academy of Sciences has introduced LARK, a novel lattice-based pseudorandom number generator (PRG) designed to achieve unprecedented efficiency while drastically reducing key sizes. Developed by Yu Zhang, Jingnan He, Yijian Liu, Xianhui Lu, Dongshu Cai, and Kunpeng Wang—all affiliated with the State Key Laboratory of Cyberspace Security Defense at the Institute of Information Engineering and the School of Cyber Security at the University of Chinese Academy of Sciences in Beijing—LARK addresses a foundational inefficiency long plaguing lattice-based cryptography: the mismatch between algebraic parameter structures and standard byte boundaries.
The research details a significant leap forward in post-quantum cryptography, specifically targeting the constraints of modern byte-oriented computing environments. By cleverly repurposing discarded data bits into a security asset, the authors have engineered a cryptographic primitive that outpaces current state-of-the-art systems while shrinking storage footprints dramatically.
The Core Challenge: Bridging Lattice Mathematics and Byte-Oriented Computing
At the heart of the design challenge for practical lattice-based pseudorandom number generators lies an inherent structural friction. Lattice-based cryptography relies heavily on algebraic structures over polynomial rings, where generated parameters and computed values do not naturally align with standard byte boundaries. This misalignment forces cryptographers to choose between two undesirable outcomes: accepting additional computational overhead to pack and unpack data bits fully, or abandoning portions of the computed values to maintain a smooth, byte-oriented generation process.
To navigate this dilemma without incurring heavy packing penalties, the cryptographic community recently produced LEAP, a state-of-the-art lattice-based PRG introduced at the Fast Software Encryption (FSE) conference in 2025. Built on the Ring Learning with Rounding (RLWR) problem, LEAP bypasses complex packing overhead by retaining only the lowest eight bits of each computed RLWR value to serve as its byte-oriented output, while systematically discarding the remaining high-order bits.
While this pragmatic design choice enables efficient byte generation, it introduces a major theoretical and practical inefficiency: the discarded high-order information contributes absolutely nothing to LEAP’s ultimate output, nor does it add to its underlying security guarantees. Those high-order bits represent wasted computational effort and untapped mathematical potential.
Rethinking Waste: How LARK Transforms Discarded Bits into Security
LARK fundamentally rethinks this paradigm by turning the previously discarded high-order information into a core architectural advantage. Rather than throwing away the upper bits of computed values, LARK directly exposes the low-order byte as standard pseudorandom output while channeling the neglected high-order information to serve as security-relevant hidden uncertainty.
By treating this leftover data as hidden entropy, LARK successfully leverages the additional uncertainty to meet rigorous target security levels using significantly smaller parameters. This reduction in parameter sizes directly translates into highly compact keys and streamlined, efficient implementations across various hardware and software platforms.
To justify using discarded high-order information as hidden uncertainty rather than treating it as predictable noise, the research team had to overhaul the underlying mathematical engine of previous generations. Specifically, LARK replaces LEAP’s RLWR-based output-generation component with an alternative framework rooted in Ring Learning with Alternating Moduli (RLAM).
Mathematical Innovations: Implementing Ring Learning with Alternating Moduli
Achieving this mathematical shift required careful formulation to ensure both robust security proofs and high-speed polynomial arithmetic. For efficient implementation, the authors formulated RLAM as a ring analogue of the Learning with Alternating Moduli (LAM) problem introduced by researchers at CRYPTO 2026. In this updated architectural model, traditional Learning with Rounding (LWR) rounding operations are replaced by direct reduction mechanisms operating between coprime moduli.
While this modulus reduction approach successfully captures the desired security uncertainty, it inevitably introduces statistical bias into the generation process. To neutralize this vulnerability and ensure true pseudorandomness, LARK incorporates a lightweight masked rejection technique that cleanly strips away any statistical anomalies without imposing heavy performance penalties.
The research team rigorously evaluated the security foundations of the new generator. They formally proved that LARK achieves strong pseudorandomness under the well-established decisional NTRU and RLAM hardness assumptions, ensuring that the primitive stands on solid cryptographic ground.
Dramatic Reductions in Key Sizes and Performance Gains
The theoretical and architectural improvements realized by LARK manifest in striking performance metrics and storage reductions when compared directly against LEAP, the previous benchmark in the field. Because the hidden uncertainty derived from the high-order bits allows for smaller overall parameters, LARK slashes key sizes drastically across standard security tiers.
Specifically, LARK reduces required key sizes by 42.85 percent at the standard 128-bit security level. The reductions become even more pronounced at higher security thresholds, with key sizes dropping by an impressive 68.00 percent at the 256-bit security level. These dramatic space savings make the primitive exceptionally well-suited for resource-constrained environments where memory and storage footprints are tightly restricted.
Beyond shrinking keys, the architectural streamlining delivers consistent performance improvements across multiple implementation environments, ranging from plain C code to highly vectorized instruction sets. In standard plain C implementations, LARK achieves performance improvements of up to 37.16 percent.
When leveraging advanced hardware acceleration, the efficiency gains remain substantial. LARK demonstrates a 10.55 percent performance boost when implemented using the AVX2 instruction set, and a 21.05 percent improvement when utilizing AVX512 vector extensions. Most notably, the AVX512 implementations achieve execution speeds of 0.90 and 0.91 cycles per byte at the 128-bit and 256-bit security levels, respectively. This milestone enables LARK to cross a critical performance threshold, attaining sub-one-cycle-per-byte performance across both major security tiers.
These findings suggest that LARK provides a highly viable, compact, and high-speed alternative for modern cryptographic applications requiring secure, byte-oriented pseudorandom number generation in a post-quantum era.






