No Time to Hash: On Super-Efficient Entropy Accumulation
Yevgeniy Dodis, Siyao Guo, Noah Stephens-Davidowitz, Zhiye Xie
Abstract
Real-world random number generators (RNGs) cannot afford to use (slow) cryptographic hashing every time they refresh their state with a new entropic input . Instead, they use ``superefficient'' simple entropy-accumulation procedures, such as where rotates an -bit state by some fixed number . For example, Microsoft's RNG uses for and for . Where do these numbers come from? Are they good choices? Should rotation be replaced by a better permutation of the input bits?
In this work we initiate a rigorous study of these pragmatic questions, by modeling the sequence of successive entropic inputs as independent (but otherwise adversarial) samples from some natural distribution family . Our contribution is as follows.
-
We define -monotone distributions as a rich family that includes relevant real-world distributions (Gaussian, exponential, etc.), but avoids trivial impossibility results.
-
For any with , we show that rotation accumulates bits of entropy from independent samples from any (unknown) -monotone distribution with entropy .
-
However, we also show that some choices of perform much better than others for a given . E.g., we show is one of the best choices for ; in contrast, is good, but generally worse than , for .
-
More generally, given a permutation and , we define a simple parameter, the covering number , and show that it characterizes the number of steps before the rule accumulates nearly bits of entropy from independent, -monotone samples of min-entropy each.
-
We build a simple permutation , which achieves nearly optimal for all values of simultaneously, and experimentally validate that it compares favorably with all rotations .
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- Optimal approximate sampling from discrete probability distributionsFeras A. Saad, Cameron E. Freer, Martin C. Rinard, Vikash K. MansinghkaPOPL 2020 · 3 citations
- Side-Channel Masking with Pseudo-Random GeneratorJean-Sébastien Coron, Aurélien Greuet, Rina ZeitounEUROCRYPT 2020 · 29 citations
- Light RUMsFlavio Chierichetti, Ravi Kumar, Andrew TomkinsICML 2021 · 3 citations
- How Fast Does the Inverse Walk Approximate a Random Permutation?Vishesh Jain, Tianren Liu, Clayton Mizgerd, Angelos Pelecanos et al.CRYPTO 2026 · 1 citation
- Sampling Permutations with Cell Probes Is HardYaroslav Alekseev, Mika Göös, Konstantin Myasnikov, Artur Riazanov et al.STOC 2026 · 2 citations
