Characterizing Environmental Thermal Fluctuations for Use in True Random Number Generators

Authors

DOI:

10.26577/RCPh972202612

Keywords:

Random Bit Generation, Temperature Data, Entropy Extraction, Shanon Entropy, Auto-correlation Analysis, Von Neumann Filtering, NIST SP 800-22.

Abstract

Random number generation is significant for secure communication, data security and cryptography. However, while Quantum Random Number Generators (QRNGs) rely on quantum uncertainty, environmental data can also serve as practical sources of randomness for true random number generation. Environmental data such as temperature, humidity, and wind speed exhibit continuous variability over time; these changes arise from complex weather behavior. In this paper, temperature data collected from two meteorological stations in Pakistan, Karachi and Hyderabad, are used to generate random bits. Everyday temperature values are transformed into binary sequences using a mean-based thresholding technique, followed by post-processing with the Von Neumann extractor to decrease bias and correlation. The quality of the generated random bits is evaluated using Shannon entropy, lossless compression testing with the Gzip, Bzip2, and LZMA algorithms, the NIST SP 800-22 statistical test suite and the auto-correlation analysis. The results determine that correctly processed temperature-based entropy can produce statistically usable random sequences suitable for randomness testing and security-related research.

Author Biographies

  • Roohi Zafar, NED University of Engineering & Technology, Karachi, Pakistan

    Department of Physics, e-mail: roohizj@cloud.neduet.edu.pk

  • Muhammad Kamran, NED University of Engineering & Technology, Karachi, Pakistan

    Department of Computer Science & Information Technology, e-mail: kamran@cloud.neduet.edu.pk

  • Tahir Malik, NED University of Engineering & Technology, Karachi, Pakistan

    Department of Telecommunications Engineering, e-mail: tmalik@cloud.neduet.edu.pk

  • Kousar Shaheen, NED University of Engineering & Technology, Karachi, Pakistan

    Department of Physics, e-mail: kousarshaheen416@gmail.com

Downloads

Published

2026-06-12

Issue

Section

Thermal Physics and Theoretical Thermal Engineering

How to Cite

Characterizing Environmental Thermal Fluctuations for Use in True Random Number Generators. (2026). Recent Contributions to Physics, 97(2), 124-131. https://doi.org/10.26577/RCPh972202612