No Time To Hash: On Super-Efficient Entropy Accumulation

ADVANCES IN CRYPTOLOGY - CRYPTO 2021, PT IV(2021)

引用 6|浏览24
暂无评分
摘要
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 asR <- rot(alpha,n)(R) circle plus X,where rot(alpha,n) rotates an n-bit state R by some fixed number alpha. For example, Microsoft's RNG uses alpha = 5for n = 32 and alpha = 19 for n = 64. Where do these numbers come from? Are they good choices? Should rotation be replaced by a better permutation pi of the input bits?In this work we initiate a rigorous study of these pragmatic questions, by modeling the sequence of successive entropic inputs X-1, X-2,... as independent (but otherwise adversarial) samples from some natural distribution family D. Our contribution is as follows.- We define 2-monotone distributions as a rich family D that includes relevant real-world distributions (Gaussian, exponential, etc.), but avoids trivial impossibility results.- For any a with gcd(alpha, n) = 1, we show that rotation accumulates Omega(n) bits of entropy from n independent samples X-1,..., X-n from any (unknown) 2-monotone distribution with entropy k > 1.- However, we also show some choices of a perform much better than others for a given n. E.g., we show alpha = 19 is one of the best choices for n = 64; in contrast, alpha = 5 is good, but generally worse than alpha = 7, for n = 32.- More generally, given a permutation pi and k >= 1, we define a simple parameter, the covering number C-pi,C-k, and show that it characterizes the number of steps before the rule(R-1,..., R-n) <- (R-pi(1),..., R-pi(n)) circle plus Xaccumulates nearly n bits of entropy from independent, 2-monotone samples of min-entropy k each.- We build a simple permutation pi*, which achieves nearly optimal C-pi*,C- k approximate to n/k for all values of k simultaneously, and experimentally validate that it compares favorably with all rotations rot(alpha,n).
更多
查看译文
关键词
Randomness extractors, Entropy accumulation, RNGs
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要