• MakaleAçık Erişim2026
    Design and analysis of an arduino-based low-cost true random number generator

    Erdem, Ebubekir; Kaner, Seyfullah; Garipcan, Ali Murat

    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.

  • MakaleAçık Erişim2025Scopus SJRQ1
    A novel deep learning-based statistical randomness evaluation test methodology for cryptographic applications

    Kaner, Seyfullah; Garipcan, Ali Murat; Erdem, Ebubekir

    The security of cryptographic systems is directly linked to the statistical randomness properties of the random numbers used. Traditional statistical randomness tests can be limited in evaluating the properties of these numbers and can require long processing times. While widely used test suites such as the National Institute of Standards and Technology (NIST) Special Publication (SP) 800–22 play a crucial role in assessing data randomness, they are slow on large data sets, can only evaluate certain statistical properties, and fail to detect complex data patterns and dependency structures. In this paper, we propose a new deep learning (DL) based method to overcome these limitations. In the study, bit sequences produced by an FPGA-based true random number generator (TRNG) and different pseudo-random number generators (PRNGs) were converted into image format, and classification experiments were carried out on the AlexNet, ResNet50, and EfficientNetB0 architectures. The results showed that AlexNet, with 87% accuracy and 99% recall, was by far the most successful method compared to the other models. Furthermore, the ablation analysis revealed that the components of data augmentation, early stopping, and cross-validation play a critical role in the model’s stability and generalizability. Providing a reliable randomness evaluation with high accuracy, this new method, as an alternative to traditional statistical test suites, demonstrates that AI-based solutions can enhance the effectiveness and accuracy of randomness assessment in cryptographic applications. The success of DL methods in complex data structures offers significant potential for improving the security of modern cryptographic systems.

    AtıfScopus9WoS9OpenAlex11
    ScopusWeb of Scienceİncele