DOI: 10.29132/ijpas.1804208 ISSN: 2149-0910

Design and analysis of an arduino-based low-cost true random number generator

Seyfullah Kaner, Ali Murat Garıpcan, Ebubekir Erdem
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.

More from our Archive