Abstract
In this paper we present a novel quantitative measure of randomness based on Diehard randomness tests. The proposed method relies on the results of diehard tests in calculating a randomness index; namely Diehard Randomness Index (DRI). The presented index can be helpful in measuring randomness in bit sequences generated from pseudo-random and random number generators to identify which has better randomness properties. The paper also show sample calculations of the proposed index to measure randomness of ciphertext resulting from encryption using block-ciphers.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Papoulis, A., Pillai, S.U.: Probability, Random Variables and Stochastic Processes. McGraw-Hill, New York (2002)
Alcover, P.M., Guillamón, A., Ruiz, M.C.: A new randomness test for bit sequences. Informatica 24(3), 339–356 (2013)
Marsaglia, G.: Diehard battery of tests of randomness (1995). [Online]. Available: http://www.stat.fsu.edu/pub/diehard/
Marsaglia, G., Tsang, W.W.: Some difficult-to-pass tests of randomness. J. Stat. Softw. 7(3) (2002)
Alani, M.M.: Testing randomness in ciphertext of block-ciphers using diehard tests. Int. J. Comput. Sci. Netw. Secur. 10(4), 53–57 (2010)
I.S. Institute: Crypt-XS tests of randomness (1998). [Online]. Available: http://www.isi.qut.edu.au/resources/cryptx/
Rukhin, A., Soto, J., Nechvatal, J., Smid, M., Barker, E., Leigh, S., Levenson, M., Vangel, M., Banks, D., Heckert, A., Dray, J., Vo, S.: A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications. NIST (2010)
Rukhin, A., Soto, J., Nechvatal, J., Smid, M., Barker, E., Leigh, S., Levenson, M., Vangel, M., Banks, D., Heckert, A., Dray, J., Vo, S.: A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications (2001)
Soto, J.: Statistical testing of random number generators. In: Proceedings of the 22nd National Information Systems Security Conference, Virginia (1999)
Duggan, M.J., Drew, J.H., Leemis, L.M.: A test of randomness based on the distance between consecutive random number pairs. In: Proceedings of the 2005 Winter Simulation Conference (2005)
Gacs, P.: Uniform test of algorithmic randomness over a general space. Theor. Comput. Sci. 341(1–3), 91–137 (2005)
Doganaksoy, A., Calık, C., Sulak F., Turan, M.S.: New randomness tests using random walk. In: Proceedings of National Conference on Cryptology II, Turkey (2006)
L’Ecuyer, P., Simard, R.: TestU01: a C library for empirical testing of random number generators. ACM Trans. Math. Softw. 33(4) (2007)
Pironio, S., Acín, A., Massar, S., de La Giroday, A.B., Matsukevich, D.N., Maunz, P., Monroe, C.: Random numbers certified by Bell’s theorem. Nature 464(7291), 1021–1024 (2010)
McKinney, E.H.: Generalized birthday problem. Am. Math. Mon. 73, 385–387 (1966)
Isaac, R.: The Pleasures of Probability. Springer, New York (1995)
Wald, A., Wolfwitz, J.: An exact test for randomness in the non-parametric case based on serial correlation. Ann. Math. Stat. 14(4), 378–388 (1943)
Soong, T.T.: Fundamentals of Probability and Statistics for Engineers. John Wiley and Sons, Chichester (2004)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Alani, M.M. (2019). Measuring Ciphertext Randmoness Using Die Hard Randomness Index. In: Al-Masri, A., Curran, K. (eds) Smart Technologies and Innovation for a Sustainable Future. Advances in Science, Technology & Innovation. Springer, Cham. https://doi.org/10.1007/978-3-030-01659-3_25
Download citation
DOI: https://doi.org/10.1007/978-3-030-01659-3_25
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-01658-6
Online ISBN: 978-3-030-01659-3
eBook Packages: Earth and Environmental ScienceEarth and Environmental Science (R0)