CoChat

Scrambled Linear Pseudorandom Number Generators

Open access
Blackman, David, Vigna, Sebastiano · 2021 · ACM Transactions on Mathematical Software
Cited by 123

The 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.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1145/3460772

Cites

5 of 5 references verified0 citation errors · 0 not checkable

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.

A few free checks a day · papers already verified open instantly · results are public

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

Research works printed but not linked: 30

  1. Nicolas Bourbaki . 1989 . Algebra: Elements of Mathematics . Springer . Nicolas Bourbaki. 1989. Algebra: Elements of Mathematics. Springer.
  2. 10.1007/11502760_8 · doi:10.1007/11502760_8
  3. 10.37236/192 · doi:10.37236/192
  4. 10.1016/j.aam.2009.02.003 · doi:10.1016/j.aam.2009.02.003
  5. 10.1007/BF01029989 · DOI
  6. 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.
  7. 10.1287/ijoc.1070.0251 · DOI
  8. 10.5555/2484623 · doi:10.5555/2484623
  9. 10.2307/2325085 · doi:10.2307/2325085 · Paper page
  10. 10.5555/260999 · doi:10.5555/260999
  11. 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.
  12. 10.1090/S0025-5718-96-00696-5 · DOI · Paper page
  13. 10.1016/S0378-4754(02)00234-3 · DOI
  14. 10.5555/1162708.1162732 · doi:10.5555/1162708.1162732
  15. 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.
  16. 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/.
  17. 10.5555/7060 · doi:10.5555/7060
  18. 10.18637/jss.v008.i14 · DOI · Paper page
  19. 10.1145/1276927.1276928 · DOI · Paper page
  20. 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.
  21. 10.1006/ffta.1995.1002 · DOI
  22. 10.1145/369534.369540 · DOI
  23. 10.1145/1132973.1132974 · DOI · Paper page
  24. 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
  25. 10.1016/j.laa.2016.10.004 · doi:10.1016/j.laa.2016.10.004
  26. 10.1145/2714064.2660195 · DOI
  27. 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.
  28. 10.1016/j.cam.2016.11.006 · DOI
  29. 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
  30. 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

See all 123

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.