arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.22684cs.DS
收藏

伪随机数生成器的模秩和线性复杂度测试

Modular Rank and Linear-Complexity Tests for Pseudorandom Number Generators

Università degli Studi di Milano(米兰大学);Dipartimento di Informatica(计算机系)

Sebastiano Vigna

AI总结:

针对线性于大域(如MIXMAX)的生成器,提出模秩和线性复杂度测试,实现高效Rust程序modlin,可快速检测CERN ROOT中MIXMAX实现的统计偏差。

摘要:

伪随机数生成器的标准测试套件(如dieharder、NIST套件和TestU01)提供了两个线性经验测试:二元秩测试和线性复杂度测试。两者都在域$\mathbf F_2$上运行,因此检测在$\mathbf F_2$上线性的生成器。然而,生成器可以在更大的域上线性,如同余生成器、单模多递归递推以及矩阵生成器(如MIXMAX)的情况。我们引入了秩和线性复杂度测试的模版本,并提供了modlin,一个用Rust编写的程序,可高效地实现于素数大小的域。modlin能在几分钟内检测到当前CERN ROOT所有MIXMAX生成器实现中的统计偏差,而此前没有报告过标准统计测试失败。

英文摘要:

Standard batteries of tests for pseudorandom number generators (such as dieharder, the NIST suite, and TestU01) provide two empirical tests for linearity, the binary rank and linear-complexity tests. Both operate over the field $\mathbf F_2$, and thus detect generators that are linear over $\mathbf F_2$. However, generators can be linear over a larger field, as in the case of congruential generators, single-modulus multiple-recursive recurrences, and of matrix generators such as MIXMAX. We introduce a modular version of the rank and linear-complexity tests, and provide modlin, a Rust program that implements it efficiently for fields of prime size. modlin can detect in minutes statistical bias in all current CERN's ROOT's implementations of the MIXMAX generator, for which no standard statistical test failure has been reported before.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑