TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What is the best test for statistical randomness?

13 点作者 _coldfire将近 8 年前
Current choices seem to be NIST SP-800-22, DieHarder and Test U01, all of which certainly overlap.<p>Why is there no battery of tests that includes standards developed by different countries and their obvious biases?

4 条评论

aappleby将近 8 年前
Broad statistical tests are good enough for most all non-crypto RNGs - once you pass DieHarder you&#x27;re probably good enough for practially all common RNG uses.<p>Breaking crypto RNGs is a subtle enough art that having a standardized set of tests wouldn&#x27;t actually prove anything useful - it would be like saying &quot;We tried every key in our collection on this new padlock and none of them worked, therefore the padlock is secure.&quot;<p>-Austin, author of SMHasher
potus_putin将近 8 年前
<a href="http:&#x2F;&#x2F;random.mat.sbg.ac.at&#x2F;tests&#x2F;" rel="nofollow">http:&#x2F;&#x2F;random.mat.sbg.ac.at&#x2F;tests&#x2F;</a> &quot;On this page, you will find information on tests for uniform random number generators (RNGs)&quot;
rvr_将近 8 年前
Lossless compression algorithms. True randomness should yield near 0% compression ratios.
janwas将近 8 年前
PractRand is a useful test suite.