Skip to main content

Using information theory approach to randomness testing

  • Conference paper
Computational Science and High Performance Computing II

Part of the book series: Notes on Numerical Fluid Mechanics and Multidisciplinary Design ((NNFM,volume 91))

Abstract

We address the problem of detecting deviations of a binary sequence from randomness, which is very important for ra ndom number (RNA) and pseudorandom number generators (PRNG) and their applications to cryptography. Namely, we consider a hypothesis H 0 that a given bit sequence is generated by the Bernoulli source with equal probabilities of 0’s and 1’s and the alternative hypothesis H 1 that the sequence is generated by a stationary and ergodic source which differs from the source under H 0. We show that data compression methods can be used as a basis for such testing and describe two new tests for randomness, which are based on ideas of universal coding. Known statistical tests and suggested ones are applied for testing PRNGs which are used in practice. The experiments show that the power of the new tests is greater than of many known algorithms.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Maurer U (1992) J Cryptol 5 (2):89–105

    Article  MATH  MathSciNet  Google Scholar 

  2. Rukhin A et al. (2001) A statistical test suite for random and pseudorandom number generators for cryptographic applications. NIST Special Publication 800–22 http://csrc.nist.gov/rng/SP800-22b.pdf

    Google Scholar 

  3. Kendall MG, Stuart A (1961) The advanced theory of statistics. Vol. 2: Inference and relationship. London

    Google Scholar 

  4. Aho AV, Hopcroft JE, Ulman JD (1976) The desighn and analysis of computer algorithms. Addison-Wesley, Reading MA

    Google Scholar 

  5. Ryabko Bya (1980) Prob Inf Transm 16(4):16–21

    MATH  MathSciNet  Google Scholar 

  6. Bently JL, Sleator DD, Tarjan RE, Wei VK (1986) Commun ACM 29:320–330

    Article  Google Scholar 

  7. Ryabko BYa, Stognienko VS, Shokin YuI (2004) J Stat Plan Infer 123(2):365–376

    Article  MATH  MathSciNet  Google Scholar 

  8. Dudewicz EJ, Ralley TG (1981) The handbook of random number generation and testing with TESTRAND computer code. In: American Series in Mathematical and Management Sciences, Vol. 4. American Sciences Press, Columbus Ohio

    Google Scholar 

  9. Ryabko B, Rissanen J (2003) IEEE Commun Lett 7(1):33–35

    Article  Google Scholar 

  10. Moeschlin O, Grycko E, Pohl C, Steinert F (1998) Experimental stochastics. Springer, Berlin Heidelberg

    MATH  Google Scholar 

  11. Matsumoto M, Nishimura T (1998) ACM Trans Model Comp Simul 8:3–30

    Article  MATH  Google Scholar 

  12. Shneier B (1996) Applied Cryptography. Wiley, New York

    Google Scholar 

  13. Rogaway P, Coppersmith D (1998) A software-optimized encryption algorithm. In: Anderson R (ed) Fast software encryption. Lecture Notes in Computer Science 809. Springer Verlag

    Google Scholar 

  14. The Marsaglia Random Number CDROM http://stat.fsu.edu/diehard/cdrom/

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer

About this paper

Cite this paper

Ryabko, B., Fionov, A., Monarev, V., Shokin, Y. (2006). Using information theory approach to randomness testing. In: Krause, E., Shokin, Y., Resch, M., Shokina, N. (eds) Computational Science and High Performance Computing II. Notes on Numerical Fluid Mechanics and Multidisciplinary Design, vol 91. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-31768-6_22

Download citation

  • DOI: https://doi.org/10.1007/3-540-31768-6_22

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-31767-8

  • Online ISBN: 978-3-540-31768-5

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics