A visual analysis method of randomness for classifying and ranking pseudo-random number generators

Abstract The development of new pseudo-random number generators (PRNGs) has steadily increased over the years. Commonly, PRNGs’ randomness is “measured” by using statistical pass/fail suite tests, but the question remains, which PRNG is the best when compared to others. Existing randomness tests lack means for comparisons between PRNGs, since they are not quantitatively analysing. It is, therefore, an important task to analyze the quality of randomness for each PRNG, or, in general, comparing the randomness property among PRNGs. In this paper, we propose a novel visual approach to analyze PRNGs randomness allowing for a ranking comparison concerning the PRNGs’ quality. Our analysis approach is applied to ensembles of time series which are outcomes of different PRNG runs. The ensembles are generated by using a single PRNG method with different parameter settings or by using different PRNG methods. We propose a similarity metric for PRNG time series for randomness and apply it within an interactive visual approach for analyzing similarities of PRNG time series and relating them to an optimal result of perfect randomness. The interactive analysis leads to an unsupervised classification, from which respective conclusions about the impact of the PRNGs’ parameters or rankings of PRNGs on randomness are derived. We report new findings using our approach in a study of randomness for state-of-the-art numerical PRNGs such as LCG, PCG, SplitMix, Mersenne Twister, and RANDU as well as chaos-based PRNG families such as K-Logistic map and K-Tent map with varying parameter K.

[1]  Jürgen Lehn,et al.  A non-linear congruential pseudo random number generator , 1986 .

[2]  Lenka Skanderová,et al.  Comparison of Pseudorandom Numbers Generators and Chaotic Numbers Generators used in Differential Evolution , 2014 .

[3]  Osvaldo A. Rosso,et al.  Statistical complexity measure of pseudorandom bit generators , 2005 .

[4]  Reinhard E. Ganz,et al.  The Decimal Expansion of π Is Not Statistically Random , 2014, Exp. Math..

[5]  Min Han,et al.  Prediction of chaotic time series based on the recurrent predictor neural network , 2004, IEEE Transactions on Signal Processing.

[6]  Frederik Armknecht,et al.  Unsupervised Machine Learning on Encrypted Data , 2018, IACR Cryptol. ePrint Arch..

[7]  Cynthia A. Brewer,et al.  ColorBrewer.org: An Online Tool for Selecting Colour Schemes for Maps , 2003 .

[8]  Jeaneth Machicao,et al.  Improving the pseudo-randomness properties of chaotic maps using deep-zoom. , 2016, Chaos.

[9]  Jonathan M. Borwein,et al.  Reproducibility in Computational Science: A Case Study: Randomness of the Digits of Pi , 2017, Exp. Math..

[10]  Lingfeng Liu,et al.  Pseudorandom sequence generator based on the Chen chaotic system , 2013, Comput. Phys. Commun..

[11]  Flavio Mendonca Barbosa,et al.  Machine Learning for Cryptographic Algorithm Identification , 2016 .

[12]  O A Rosso,et al.  Quantifiers for randomness of chaotic pseudo-random number generators , 2008, Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences.

[13]  Ge Wang,et al.  Learning From Pseudo-Randomness With an Artificial Neural Network–Does God Play Pseudo-Dice? , 2018, IEEE Access.

[14]  İsmail Öztürk,et al.  A novel method for producing pseudo random numbers from differential equation-based chaotic systems , 2015 .

[15]  Odemir Martinez Bruno,et al.  Chaotic encryption method based on life-like cellular automata , 2011, Expert Syst. Appl..

[16]  Manish Bhardwaj,et al.  Cryptanalysis of Simplified Data Encryption Standard Using Genetic Algorithm , 2015 .

[17]  I. Vattulainen,et al.  A comparative study of some pseudorandom number generators , 1995 .

[18]  Alberto Peinado,et al.  Generation of pseudorandom binary sequences by means of linear feedback shift registers (LFSRs) with dynamic feedback , 2013, Math. Comput. Model..

[19]  Dominique Barchiesi,et al.  Pseudo-random number generator based on mixing of three chaotic maps , 2014, Commun. Nonlinear Sci. Numer. Simul..

[20]  Richard Spillman,et al.  Use of a genetic algorithm in the crypt-analysis of simple substitution ciphers , 1993 .

[21]  Osvaldo A. Rosso,et al.  Intensive entropic non-triviality measure , 2004 .

[22]  Heidrun Schumann,et al.  Visualization of Time-Oriented Data , 2011, Human-Computer Interaction Series.

[23]  Henry Leung,et al.  Prediction of noisy chaotic time series using an optimal radial basis function neural network , 2001, IEEE Trans. Neural Networks.

[24]  Guy L. Steele,et al.  Fast splittable pseudorandom number generators , 2014, OOPSLA 2014.

[25]  Salwa K. Abd-El-Hafiz,et al.  Symmetric encryption algorithms using chaotic and non-chaotic generators: A review , 2015, Journal of advanced research.

[26]  N. Metropolis,et al.  The Monte Carlo method. , 1949 .

[27]  George Markowsky,et al.  The Sad History of Random Bits , 2014, J. Cyber Secur. Mobil..

[28]  Ricardo López-Ruiz,et al.  A Statistical Measure of Complexity , 1995, ArXiv.

[29]  Takuji Nishimura,et al.  Mersenne twister: a 623-dimensionally equidistributed uniform pseudo-random number generator , 1998, TOMC.