Skip to main content
Log in

Finding distinguishers for pseudorandom number generators based on permutations

  • Original Paper
  • Published:
Journal of Computer Virology and Hacking Techniques Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. 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)

    Article  Google Scholar 

  2. 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)

  3. Spivey, M.Z.: Deranged exams. Coll. Math. J. 41(3), 197–202 (2010)

    Article  MathSciNet  Google Scholar 

  4. Schervish, M.J.: Theory of Statistics. Springer, Berlin (2012)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mikhail Borodin.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11416-020-00360-0

Keywords

Navigation