Scrambled Linear Pseudorandom Number Generators
Open accessThe DOI matches its Crossref record; 5 of the 5 references it cites were found in a registry or an index.
Abstract
F 2 -linear pseudorandom number generators are very popular due to their high speed, to the ease with which generators with a sizable state space can be created, and to their provable theoretical properties. However, they suffer from linear artifacts that show as failures in linearity-related statistical tests such as the binary-rank and the linear-complexity test. In this article, we give two new contributions. First, we introduce two new F 2 -linear transformations that have been handcrafted to have good statistical properties and at the same time to be programmable very efficiently on superscalar processors, or even directly in hardware. Then, we describe some scramblers , that is, nonlinear functions applied to the state array that reduce or delete the linear artifacts, and propose combinations of linear transformations and scramblers that give extremely fast pseudorandom number generators of high quality. A novelty in our approach is that we use ideas from the theory of filtered linear-feedback shift registers to prove some properties of our scramblers, rather than relying purely on heuristics. In the end, we provide simple, extremely fast generators that use a few hundred bits of memory, have provable properties, and pass strong statistical tests.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Mersenne twister: a 623-dimensionally equidistributed uniform pseudo-random number generator
Matsumoto, M., & Nishimura, T. (1998) · ACM Transactions on Modeling and Computer Simulation · doi:10.1145/272991.272995 · Cited by 5,780
The On-Line Encyclopedia of Integer Sequences
Sloane, N. J. A. (2007) · Lecture Notes in Computer Science · doi:10.1007/978-3-540-73086-6_12 · Cited by 3,225
TestU01: A C library for empirical testing of random number generators
L'Ecuyer, P., & Simard, R. (2007) · ACM Transactions on Mathematical Software · doi:10.1145/1268776.1268777 · Cited by 1,014 · cited 2×
“by any number of next-state steps. Please refer to [12] for a simple explanation, and for a fast algorithm.6 Part of our experiments use the BigCrush test suite from the well-known framework TestU01 [27]. We follow the protocol described in [49], which we briefly recall. Wesamplegenerators by executing BigCrush starti…”
BackgroundMethodMatrices and the structure of random number sequences
Marsaglia, G., & Tsay, L.-H. (1985) · Linear Algebra and its Applications · doi:10.1016/0024-3795(85)90192-2 · Cited by 118 · cited 1×
“The linear structure of such generators, however, is detectable by some randomness tests: in particular, the binary-rank test [32] and the linear-complexity test [5, 9] are failed by all linear generators.”
BackgroundAn Experimental Exploration of Marsaglia's xorshift Generators, Scrambled
Vigna, S. (2016) · ACM Transactions on Mathematical Software · doi:10.1145/2845077 · Cited by 55 · cited 7×
“, see Theorem 14 of [7], which can be used to prove (3) for xorshift linear engines with multiple-word state [39]).”
InfluentialSelf-citation
Research works printed but not linked: 30
- Nicolas Bourbaki . 1989 . Algebra: Elements of Mathematics . Springer . Nicolas Bourbaki. 1989. Algebra: Elements of Mathematics. Springer.
- 10.1007/11502760_8 · doi:10.1007/11502760_8
- 10.37236/192 · doi:10.37236/192
- 10.1016/j.aam.2009.02.003 · doi:10.1016/j.aam.2009.02.003
- 10.1007/BF01029989 · DOI
- E. D. Erdmann . 1992. Empirical tests of binary keystreams. Department of Mathematics , Royal Holloway and Bedford New College , University of London. E. D. Erdmann. 1992. Empirical tests of binary keystreams. Department of Mathematics, Royal Holloway and Bedford New College, University of London.
- 10.1287/ijoc.1070.0251 · DOI
- 10.5555/2484623 · doi:10.5555/2484623
- 10.2307/2325085 · doi:10.2307/2325085 · Paper page
- 10.5555/260999 · doi:10.5555/260999
- Nicholas Kolokotronis , Konstantinos Limniotis , and Nicholas Kalouptsidis . 2007 . Improved bounds on the linear complexity of keystreams obtained by filter generators . In Proceedings of the International Conference on Information Security and Cryptology.Dingyi Pei, Moti Yung, Dongdai Lin, and Chuankun Wu (Eds.), Inscrypt (Lecture Notes in Computer Science) , Vol. 4990 . Springer, 246–255. Nicholas Kolokotronis, Konstantinos Limniotis, and Nicholas Kalouptsidis. 2007. Improved bounds on the linear complexity of keystreams obtained by filter generators. In Proceedings of the International Conference on Information Security and Cryptology.Dingyi Pei, Moti Yung, Dongdai Lin, and Chuankun Wu (Eds.), Inscrypt (Lecture Notes in Computer Science), Vol. 4990. Springer, 246–255.
- 10.1090/S0025-5718-96-00696-5 · DOI · Paper page
- 10.1016/S0378-4754(02)00234-3 · DOI
- 10.5555/1162708.1162732 · doi:10.5555/1162708.1162732
- Pierre L’Ecuyer and François Panneton . 2009. -linear random number generators . In Advancing the Frontiers of Simulation . Christos Alexopoulos, David Goldsman, and James R. Wilson (Eds.). International Series in Operations Research & Management Science, Vol. 133 . Springer US , 169–193. Pierre L’Ecuyer and François Panneton. 2009. -linear random number generators. In Advancing the Frontiers of Simulation. Christos Alexopoulos, David Goldsman, and James R. Wilson (Eds.). International Series in Operations Research & Management Science, Vol. 133. Springer US, 169–193.
- Robert H. Lewis . 2018 . Fermat: A Computer Algebra System for Polynomial and Matrix Computation. Retrieved from http://home.bway.net/lewis/. Robert H. Lewis. 2018. Fermat: A Computer Algebra System for Polynomial and Matrix Computation. Retrieved from http://home.bway.net/lewis/.
- 10.5555/7060 · doi:10.5555/7060
- 10.18637/jss.v008.i14 · DOI · Paper page
- 10.1145/1276927.1276928 · DOI · Paper page
- Joseph I. Naus . 1968 . An extension of the birthday problem . Am Stat 22 , 1 (1968), 27 – 29 . Joseph I. Naus. 1968. An extension of the birthday problem. Am Stat 22, 1 (1968), 27–29.
- 10.1006/ffta.1995.1002 · DOI
- 10.1145/369534.369540 · DOI
- 10.1145/1132973.1132974 · DOI · Paper page
- Mutsuo Saito and Makoto Matsumoto . 2009. A PRNG specialized in double precision floating point numbers using an affine transition . In Monte Carlo and Quasi-Monte Carlo Methods 2008 . Pierre L’Ecuyer and Art B. Owen (Eds.). Springer , 589–602. DOI:https://doi.org/10.1007/978-3-642-04107-5_38 10.1007/978-3-642-04107-5_38 Mutsuo Saito and Makoto Matsumoto. 2009. A PRNG specialized in double precision floating point numbers using an affine transition. In Monte Carlo and Quasi-Monte Carlo Methods 2008. Pierre L’Ecuyer and Art B. Owen (Eds.). Springer, 589–602. DOI:https://doi.org/10.1007/978-3-642-04107-5_38 · DOI
- 10.1016/j.laa.2016.10.004 · doi:10.1016/j.laa.2016.10.004
- 10.1145/2714064.2660195 · DOI
- Dan Terpstra , Heike Jagode , Haihang You , and Jack Dongarra . 2010. Collecting performance data with papi-c . In Tools for High Performance Computing 2009 , Matthias S. Müller, Michael M. Resch, Alexander Schulz, and Wolfgang E. Nagel (Eds.). Springer , 157–173. Dan Terpstra, Heike Jagode, Haihang You, and Jack Dongarra. 2010. Collecting performance data with papi-c. In Tools for High Performance Computing 2009, Matthias S. Müller, Michael M. Resch, Alexander Schulz, and Wolfgang E. Nagel (Eds.). Springer, 157–173.
- 10.1016/j.cam.2016.11.006 · DOI
- Sebastiano Vigna . 2019. It is high time we let go of the Mersenne Twister. CoRR abs/1910.06437 ( 2019 ). Sebastiano Vigna. 2019. It is high time we let go of the Mersenne Twister. CoRR abs/1910.06437 (2019). · arXiv
- Sebastiano Vigna . 2020. On the probability of overlap of random subsequences of pseudorandom number generators. Inform. Process. Lett. 158 ( 2020 ). Sebastiano Vigna. 2020. On the probability of overlap of random subsequences of pseudorandom number generators. Inform. Process. Lett. 158 (2020).
Cited by
Massively parallel probabilistic computing with sparse Ising machines
Aadit, N. A., Grimaldi, A., Carpentieri, M., Theogarajan, L., Martinis, J. M., Finocchio, G., & Camsari, K. Y. (2022) · Nature Electronics · doi:10.1038/s41928-022-00774-2 · Cited by 211
Dissecting the Graphcore IPU Architecture via Microbenchmarking
Jia, Z., Tillman, B., Maggioni, M., & Scarpazza, D. P. (2019) · arXiv · doi:10.48550/arxiv.1912.03413 · Cited by 83
“On the IPU, each tile includes PRNG acceleration circuitry that implements a variant of the xoroshiro128+ algorithm by David Blackman and Sebastiano Vigna [15].”
MethodRaw QPP-RNG randomness via system jitter across platforms: a NIST SP 800-90B evaluation
Vrana, G., Lou, D., & Kuang, R. (2025) · Scientific Reports · doi:10.1038/s41598-025-13135-8 · Cited by 8
Quantum permutation pad for quantum secure symmetric and asymmetric cryptography
Kuang, R. (2025) · Academia Quantum · doi:10.20935/acadquant7457 · Cited by 4
Metadata
- Authors
- Blackman, D., & Vigna, S.
- Venue
- ACM Transactions on Mathematical Software
- Published
- 2021-09-28
- Volume
- 47
- Issue
- 4
- Pages
- 1-32
- ISSN
- 0098-3500 (ISSN-L)
- 1557-7295
- OpenAlex
- W2798482670
- Cited by
- 123
- References
- 5
- FWCI
- 5.65
- Type
- journal article
- Language
- en
- Open access
- green
- Funders
- Google Focused Research Award
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.