INTEGRATION OF PHYSICAL SENSORS IN THE GENERATION OF PSEUDO-RANDOM NUMBERS
DOI:
https://doi.org/10.32782/mathematical-modelling/2024-7-2-16Keywords:
entropy, pseudorandom number generator, Internet of Things, mathematical model, sensors, digital data processingAbstract
The paper presents an approach to building a pseudo-random number generator (PRNG) based on physical sensors, which is a promising direction for ensuring reliability and security in various fields such as cryptography, Internet of Things (IoT), gaming industry, and cyber-physical systems. Sensors of various types, including temperature, sound, light, gyroscopes, and magnetometers, show high reliability as sources of entropy due to the natural fluctuations and unpredictable characteristics they register. The physical phenomena measured by these sensors generate a significant level of unpredictability, which is critical for building reliable, predictability-resistant pseudo-random number generators. The work describes in detail the process of digital processing of signals from sensors, which includes several stages: noise filtering, signal normalization, quantization and binarization to obtain random bits. Noise filtering ensures the elimination of unwanted interference, normalization allows you to bring signals to a single scale, and quantization and binarization ensure the conversion of analog signals into a discrete form suitable for generating pseudorandom numbers. This approach guarantees the high quality of random bits, which is confirmed by the results of cryptographic and statistical tests that were conducted to assess the randomness and predictability of the received numbers. The research results showed that generators based on physical sensors can effectively provide a high degree of randomness sufficient for applications requiring high security. In particular, the approach can be useful in cryptography to generate encryption keys, in IoT systems to protect data privacy, in cyber-physical systems to ensure reliable operation, and in the gaming industry to create unpredictable game scenarios. The article also provides practical recommendations for the selection of sensors depending on the conditions of use and equipment requirements. For example, motion sensors (gyroscopes, accelerometers) can be effective for mobile devices, while for stationary systems it is appropriate to use temperature or sound sensors. Aspects of integrating sensor generators into various systems are also considered, including how they can be combined with existing infrastructures and hardware requirements. Thus, the considered approach to building a generator of pseudo-random numbers based on physical sensors is a promising direction that can significantly increase the reliability and security of modern systems. The proposed methods of signal processing and recommendations for the selection of sensors contribute to the effective implementation of generators in various fields, ensuring a high level of entropy and protection against possible attacks.
References
Rastoceanu F., Rughiniş R., Tranca D.-C. Lightweight cryptographic secure random number generator for IoT devices. Proceedings of the 24th International Conference on Control Systems and Computer Science (CSCS), Bucharest, Romania, 2023. P. 180–185. doi: 10.1109/CSCS59211.2023.00036.
Parisot Bento L. M. S., Machado R. C. S. Testing and selecting lightweight pseudo-random number generators for IoT devices. Proceedings of the IEEE International Workshop on Metrology for Industry 4.0 & IoT (MetroInd4.0&IoT), Rome, Italy, 2021. P. 715–720, doi: 10.1109/MetroInd4.0IoT51437.2021.9488454.
Cho S.-M., Hong E., Seo S.-H. Random Number Generator Using Sensors for Drone. IEEE Access, 2020. vol. 8, P. 30343–30354. doi: 10.1109/ACCESS.2020.2972958.
Jindal P., Singh B. RC4 Encryption-A Literature Survey. Procedia Computer Science. 2015. 46, P. 697–705.
Ruhillo. Using Smartphone Sensors to Generate Cryptographic Keys. International Journal of Innovative Technology and Exploring Engineering. 2020. 9, P. 1025–1029. doi: 10.35940/ijitee.C8994.029420.
Cotrina G., Peinado A., Ortiz A. Gaussian Pseudorandom Number Generator Based on Cyclic Rotations of Linear Feedback Shift Registers. Sensors. 2020. 20(7). 2103. doi:10.3390/s20072103.
Zia U., McCartney M., Scotney B. A novel pseudo-random number generator for IoT based on a coupled map lattice system using the generalised symmetric map. SN Applied Sciences. 2022. 4, p. 48. doi:10.1007/s42452-021-04919-4.
Florin R., Rughinis R., Ciocîrlan S.-D., Enache M. Sensor-Based Entropy Source Analysis and Validation for Use in IoT Environments, Electronics. 2021. doi:10.1173.10.3390/electronics10101173.
Hong S., Chang L. Sеnsor-Basеd Random Numbеr Gеnеrator Sееdіng. Accеss ІЕЕЕ. 2015. 3. P. 562–568.
Lv N., Chen T., Ma Y. Analysis on Entropy Sources based on Smartphone. Sensors. 2020. P. 21–31. doi:10.1145/3442520.3442528.
Popereshnyak S. Technique of the testing of pseudorandom sequences, International Journal of Computing. 2020. 19(3). P. 387–398. doi:10.47839/ijc.19.3.1888.
Masol V., Popereshnyak S. Joint Distribution of Some Statistics of Random Bit Sequences. Cybernetics and Systems Analysis. 2021. 57(1). P. 139–145. doi.org/10.1007/s10559-021-00337-x.