Paper 2010/564

Cryptographic Randomness Testing of Block Ciphers and Hash Functions

Ali Doğanaksoy, Barış Ege, Onur Koçak, and Fatih Sulak


One of the most basic properties expected from block ciphers and hash functions is passing statistical randomness testing, as they are expected to behave like random mappings. Previously, testing of AES candidate block ciphers was done by concatenating the outputs of the algorithms obtained from various input types. In this work, a more convenient method, namely the cryptographic randomness testing is introduced. A package of statistical tests are designed based on certain cryptographic properties of block ciphers and hash functions to evaluate their randomness. The package is applied to the AES finalists, and produced more precise results than those obtained in similar applications.

Note: Revised for missing reference

Available format(s)
Secret-key cryptography
Publication info
Published elsewhere. Not pulished
block ciphershash functionsrandomness testing
Contact author(s)
onur kocak @ metu edu tr
2010-11-11: revised
2010-11-06: received
See all versions
Short URL
Creative Commons Attribution


      author = {Ali Doğanaksoy and Barış Ege and Onur Koçak and Fatih Sulak},
      title = {Cryptographic Randomness Testing of Block Ciphers and Hash Functions},
      howpublished = {Cryptology ePrint Archive, Paper 2010/564},
      year = {2010},
      note = {\url{}},
      url = {}
Note: In order to protect the privacy of readers, does not use cookies or embedded third party content.