EN
Design and analysis of an arduino-based low-cost true random number generator
Abstract
This study covers the design and statistical randomness-based performance analysis of an Arduino-based True Random Number Generator (TRNG) that uses environmental analog noise as a randomness source. The environmental analog noise used as the randomness source was sampled from the Arduino's A_0-A_4 pins, mixed at the bit level, and then subjected to the SHA-256 hash function in the post processing stage. The 256-bit random number blocks obtained using this method were transferred via the serial port and converted into a format suitable for NIST SP-800-22 and Dieharder tests. In terms of statistical randomness, the random numbers achieved successful results in all NIST tests and in 93.94% of the Dieharder tests. However, Shannon entropy and bias analyses showed that the generated numbers did not carry structural patterns. The study demonstrates that reliable randomness can be obtained even under limited hardware and low energy conditions, showing that the developed structure provides an accessible and reproducible platform for educational use, embedded system security, and lightweight cryptographic applications.
Keywords
Supporting Institution
This research received no specific grant from any funding agency, commercial or not-for-profit sectors.
Ethical Statement
The author declare that they have complied with the scientific, ethical, and citation principles of the International Journal of Pure and Applied Sciences throughout all stages of the study.
Thanks
The author would like to thank the reviewers and editorial boards of the International Journal of
Pure and Applied Sciences.
References
- M. Stipcevic, “Quantum random number generators and their applications in cryptography,” in Advanced Photon Counting Techniques VI, May 2012, pp. 837504-837504–15. doi: 10.1117/12.919920.
- M. Herrero-Collantes and J. C. Garcia-Escartin, “Quantum random number generators,” Rev. Mod. Phys., vol. 89, no. 1, p. 015004, Feb. 2017, doi: 10.1103/RevModPhys.89.015004.
- Y. Zhang, K. Zhong, and J. Zhang, “High Throughput and Compact FPGA TRNGs Based on Hybrid Entropy, Reinforcement Strategies, and Automated Exploration,” IEEE Trans. Comput. Des. Integr. Circuits Syst., vol. 45, no. 1, pp. 519–532, Jan. 2026, doi: 10.1109/TCAD.2025.3572838.
- P. L’Ecuyer, Handbook of Computational Statistics. Berlin, Heidelberg: Springer Berlin Heidelberg, 2012. doi: 10.1007/978-3-642-21551-3.
- T. Stojanovski and L. Kocarev, “Chaos-based random number generators-part I: analysis [cryptography],” IEEE Trans. Circuits Syst. I Fundam. Theory Appl., vol. 48, no. 3, pp. 281–288, Mar. 2001, doi: 10.1109/81.915385.
- Ç. K. Koç, Cryptographic Engineering. Boston, MA: Springer US, 2009. doi: 10.1007/978-0-387-71817-0.
- M. Stipcevic and Ç. K. Koç, True Random Number Generators. Cham: Springer International Publishing, 2014. doi: 10.1007/978-3-319-10683-0.
- C. K. Volos and A. S. Andreatos, “Secure Text Encryption Based on Hardware Chaotic Noise Generator,” J. Appl. Math. Bioinforma., vol. 5, pp. 15–35, 2015.
Details
Primary Language
English
Subjects
Dependable Systems
Journal Section
Research Article
Publication Date
June 22, 2026
Submission Date
October 16, 2025
Acceptance Date
January 31, 2026
Published in Issue
Year 2026 Volume: 12 Number: 1
APA
Kaner, S., Garıpcan, A. M., & Erdem, E. (2026). Design and analysis of an arduino-based low-cost true random number generator. International Journal of Pure and Applied Sciences, 12(1), 203-231. https://doi.org/10.29132/ijpas.1804208
AMA
1.Kaner S, Garıpcan AM, Erdem E. Design and analysis of an arduino-based low-cost true random number generator. International Journal of Pure and Applied Sciences. 2026;12(1):203-231. doi:10.29132/ijpas.1804208
Chicago
Kaner, Seyfullah, Ali Murat Garıpcan, and Ebubekir Erdem. 2026. “Design and Analysis of an Arduino-Based Low-Cost True Random Number Generator”. International Journal of Pure and Applied Sciences 12 (1): 203-31. https://doi.org/10.29132/ijpas.1804208.
EndNote
Kaner S, Garıpcan AM, Erdem E (June 1, 2026) Design and analysis of an arduino-based low-cost true random number generator. International Journal of Pure and Applied Sciences 12 1 203–231.
IEEE
[1]S. Kaner, A. M. Garıpcan, and E. Erdem, “Design and analysis of an arduino-based low-cost true random number generator”, International Journal of Pure and Applied Sciences, vol. 12, no. 1, pp. 203–231, June 2026, doi: 10.29132/ijpas.1804208.
ISNAD
Kaner, Seyfullah - Garıpcan, Ali Murat - Erdem, Ebubekir. “Design and Analysis of an Arduino-Based Low-Cost True Random Number Generator”. International Journal of Pure and Applied Sciences 12/1 (June 1, 2026): 203-231. https://doi.org/10.29132/ijpas.1804208.
JAMA
1.Kaner S, Garıpcan AM, Erdem E. Design and analysis of an arduino-based low-cost true random number generator. International Journal of Pure and Applied Sciences. 2026;12:203–231.
MLA
Kaner, Seyfullah, et al. “Design and Analysis of an Arduino-Based Low-Cost True Random Number Generator”. International Journal of Pure and Applied Sciences, vol. 12, no. 1, June 2026, pp. 203-31, doi:10.29132/ijpas.1804208.
Vancouver
1.Seyfullah Kaner, Ali Murat Garıpcan, Ebubekir Erdem. Design and analysis of an arduino-based low-cost true random number generator. International Journal of Pure and Applied Sciences. 2026 Jun. 1;12(1):203-31. doi:10.29132/ijpas.1804208