Paper 2021/523

No Time to Hash: On Super Efficient Entropy Accumulation

Yevgeniy Dodis, Siyao Guo, Noah Stephens-Davidowitz, and Zhiye Xie

Abstract

Real-world random number generators (RNGs) cannot afford to use (slow) cryptographic hashing every time they refresh their state R with a new entropic input X. Instead, they use ``superefficient'' simple entropy-accumulation procedures, such as Rrotα,n(R)X, where rotα,n rotates an n-bit state R by some fixed number α. For example, Microsoft's RNG uses α=5 for n=32 and α=19 for n=64. 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 .

Metadata
Available format(s)
PDF
Category
Foundations
Publication info
A major revision of an IACR publication in CRYPTO 2021
DOI
10.1007/978-3-030-84259-8_19
Keywords
extractorscondensorsentropy accumulationRNGs
Contact author(s)
dodis @ cs nyu edu
gsy014 @ gmail com
noahsd @ gmail com
zx572 @ nyu edu
History
2022-03-17: last of 2 revisions
2021-04-23: received
See all versions
Short URL
https://ia.cr/2021/523
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2021/523,
      author = {Yevgeniy Dodis and Siyao Guo and Noah Stephens-Davidowitz and Zhiye Xie},
      title = {No Time to Hash: On Super Efficient Entropy Accumulation},
      howpublished = {Cryptology {ePrint} Archive, Paper 2021/523},
      year = {2021},
      doi = {10.1007/978-3-030-84259-8_19},
      url = {https://eprint.iacr.org/2021/523}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.