[Paper Review] Randomness Testing of Compressed Data
This paper evaluates the randomness of data compressed using eight different algorithms, finding that compressed data exhibits poor randomness despite high compression ratios. The study demonstrates a positive correlation between compression ratio and randomness, concluding that compression algorithms are unsuitable as random number generators due to inherent structural patterns.
Random Number Generators play a critical role in a number of important applications. In practice, statistical testing is employed to gather evidence that a generator indeed produces numbers that appear to be random. In this paper, we reports on the studies that were conducted on the compressed data using 8 compression algorithms or compressors. The test results suggest that the output of compression algorithms or compressors has bad randomness, the compression algorithms or compressors are not suitable as random number generator. We also found that, for the same compression algorithm, there exists positive correlation relationship between compression ratio and randomness, increasing the compression ratio increases randomness of compressed data. As time permits, additional randomness testing efforts will be conducted.
Motivation & Objective
- To assess the randomness quality of data produced by common compression algorithms.
- To determine whether compressed data can serve as a viable source of randomness for cryptographic or simulation applications.
- To investigate the relationship between compression ratio and the perceived randomness of output data.
- To evaluate the suitability of compression-based methods as random number generators.
Proposed method
- The authors applied eight widely used compression algorithms to various data sources to generate compressed outputs.
- Statistical randomness tests were applied to the compressed data to evaluate its entropy and distributional properties.
- Compression ratios were measured and correlated with the randomness scores obtained from testing.
- The study used standard statistical test suites to analyze the randomness of compressed data, focusing on patterns and predictability.
Experimental results
Research questions
- RQ1Does compressed data from standard compression algorithms exhibit sufficient randomness for use in random number generation?
- RQ2Is there a measurable relationship between the compression ratio and the randomness of the output data?
- RQ3How do different compression algorithms compare in terms of producing 'random-looking' data?
- RQ4Can compression algorithms be reliably used as pseudo-random number generators based on their output characteristics?
Key findings
- Compressed data from all eight tested algorithms showed significant deviations from true randomness, indicating poor randomness quality.
- A positive correlation was observed between higher compression ratios and improved randomness scores, suggesting that more aggressive compression enhances apparent randomness.
- Despite higher compression ratios, the compressed outputs still contained detectable patterns, making them unsuitable for cryptographic randomness.
- The study concludes that compression algorithms are not appropriate as random number generators due to structural predictability in their output.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.