Scrambled Linear Pseudorandom Number Generators

05/03/2018
by   David Blackman, et al.
0

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 which show as failures in linearity-related statistical tests such as the binary-rank and the linear-complexity test. In this paper, we give three new contributions. First, we introduce two new 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 a new test for Hamming-weight dependencies that is able to discover subtle, previously unknown biases in existing generators (in particular, in linear ones). Finally, we describe a number of 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 generators of high quality. A novelty in our approach is that we use ideas from the theory of filtered linear-feedback shift register 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 very strong statistical tests.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/30/2021

A New Test for Hamming-Weight Dependencies

We describe a new statistical test for pseudorandom number generators (P...
research
12/21/2016

Improving the Quality of Random Number Generators by Applying a Simple Ratio Transformation

It is well-known that the quality of random number generators can often ...
research
10/12/2018

Xorshift1024*, Xorshift1024+, Xorshift128+ and Xoroshiro128+ Fail Statistical Tests for Linearity

L'Ecuyer & Simard's Big Crush statistical test suite has revealed statis...
research
10/10/2020

Combining the Mersenne Twister and the Xorgens Designs

We combine the design of two random number generators, Mersenne Twister ...
research
02/26/2020

Romu: Fast Nonlinear Pseudo-Random Number Generators Providing High Quality

We introduce the Romu family of pseudo-random number generators (PRNGs) ...
research
03/23/2019

On testing pseudorandom generators via statistical tests based on the arcsine law

Testing the quality of pseudorandom number generators is an important is...
research
03/08/2022

A Fast Hardware Pseudorandom Number Generator Based on xoroshiro128

The Graphcore Intelligent Processing Unit contains an original pseudoran...

Please sign up or login with your details

Forgot password? Click here to reset