Abstract
In this paper, we consider properties of a pseudorandom number generator (PRNG) based on two random permutations. We investigate the possibility to distinguish this PRNG from a true random number generator. A black-box setting is used when a generator is put in the box, the output sequences from that box are available to the adversary, and also she can restart the box as many times as needed not changing the generator in it. The adversary tries to find out which generator is in the box. We built two statistical distinguishers. One of them is based on the probabilities to observe some particular types of output sequences of finite lengths. The other one checks all output sequences of small fixed lengths. For both distinguishers exact probabilities to observe particular outputs were computed. It was found that both distinguishers require a very large amount of the PRNG output to analyze before they can tell the difference with high certainty. In particular the best distinguisher found requires no less than \(O\left( (2^n)^2\right) \) restarts and altogether at least \(O\left( (2^n)^3\right) \) symbols for analysis in case of n-bit permutations. This indicates that PRNGs on two permutations exhibit very good probabilistic properties close to those of a true RNG.
Similar content being viewed by others
References
Urivskiy, A., Rybkin, A., Borodin, M.: On some properties of PRNGs based on block ciphers in counter mode. Electron. Notes Discrete Math. 57, 211–218 (2017)
Borodin, M., Rybkin, A., Urivskiy, A.: On Conditional probabilities of output sequences for permutation-based PRNGs. In: IVth International Conference on Engineering and Telecommunication (EnT), pp. 18–22. IEEE (2017)
Spivey, M.Z.: Deranged exams. Coll. Math. J. 41(3), 197–202 (2010)
Schervish, M.J.: Theory of Statistics. Springer, Berlin (2012)
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Urivskiy, A., Borodin, M. & Rybkin, A. Finding distinguishers for pseudorandom number generators based on permutations. J Comput Virol Hack Tech 16, 295–303 (2020). https://doi.org/10.1007/s11416-020-00360-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11416-020-00360-0