Graph Theoretic Approach to Randomness Test Based on the Overlapping Blocks

2023-06-01
Cryptographic parameters such as secret keys, should be chosen randomly and at the same time it should not be so difficult to reproduce them when necessary. Because of this, pseudorandom bit (or number) generators take the role of true random generators. Outputs of pseudorandom generators, although they are produced through some deterministic process, should be random looking, that is not distinguishable from true random sequences. In other words they should not follow any pattern. In this paper we propose a new approach using graph theory, to determine the expected value of the index at which a fixed pattern start to appear in a random sequence for the first time. Using the method proposed, a recursion for the number of paths of length n starting from a pattern and never coming back to that pattern can be computed. By means of these recursions, we obtain the probabilities for the indexes at which a fixed pattern appears in the sequence for the first time. Using these expected values and comparing them with the observed values a randomness test can be defined. In this work patters are traced through the sequence in an overlapping manner.
INTERNATIONAL JOURNAL OF INFORMATION SECURITY SCIENCE
Citation Formats
M. Uğuz, “Graph Theoretic Approach to Randomness Test Based on the Overlapping Blocks,” INTERNATIONAL JOURNAL OF INFORMATION SECURITY SCIENCE, vol. 12, no. 2, pp. 42–52, 2023, Accessed: 00, 2023. [Online]. Available: https://dergipark.org.tr/tr/pub/ijiss/issue/78497/1288854.