<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "https://jats.nlm.nih.gov/publishing/1.3/JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xml:lang="en">
  <front xmlns:xlink="http://www.w3.org/1999/xlink">
    <journal-meta>
      <journal-id journal-id-type="elibrary">9004</journal-id>
      <journal-title-group>
        <journal-title>Problems of information security. Computer systems</journal-title>
        <trans-title-group xml:lang="ru">
          <trans-title>Проблемы информационной безопасности. Компьютерные системы</trans-title>
        </trans-title-group>
      </journal-title-group>
      <issn pub-type="epub">2071-8217</issn>
    </journal-meta>
    <article-meta xmlns:xlink="http://www.w3.org/1999/xlink">
      <article-id pub-id-type="publisher-id">2</article-id>
      <title-group>
        <article-title>Method of evaluating the quality of random-number generators based on spectral entropy calculation</article-title>
        <trans-title-group xml:lang="ru">
          <trans-title>Метод оценки качества генераторов случайных чисел на основе расчета спектральной энтропии</trans-title>
        </trans-title-group>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <contrib-id contrib-id-type="orcid">0009-0000-3319-8357</contrib-id>
          <name>
            <surname>Kasyanov</surname>
            <given-names>Alexandr</given-names>
          </name>
          <xref ref-type="aff" rid="aff1"/>
          <email>kasjanov@inbox.ru</email>
        </contrib>
        <contrib contrib-type="author">
          <contrib-id contrib-id-type="orcid">0000-0003-1373-0670</contrib-id>
          <name>
            <surname>Grishencev</surname>
            <given-names>Alexey</given-names>
          </name>
          <xref ref-type="aff" rid="aff2"/>
          <email>agrishentsev@yandex.ru</email>
        </contrib>
      </contrib-group>
      <aff id="aff1">Saint Petersburg Electrotechnical University "LETI"</aff>
      <aff id="aff2">ITMO University</aff>
      <pub-date publication-format="electronic" date-type="pub" iso-8601-date="2026-10-09">
        <day>09</day>
        <month>10</month>
        <year>2026</year>
      </pub-date>
      <issue>3</issue>
      <fpage>25</fpage>
      <lpage>48</lpage>
      <self-uri xmlns:xlink="http://www.w3.org/1999/xlink" content-type="pdf" xlink:href="https://jisp.spbstu.ru/userfiles/images/oblozhki/3_2026.png"/>
      <abstract xml:lang="en">
        <p>The aim of this study was to develop and mathematically substantiate a method for assessing the randomness quality of output sequences produced by random and pseudorandom number generators based on spectral entropy. To solve the individual subproblems, the following methods were used: the discrete Fourier transform for signal spectrum computation; nonparametric bootstrap for constructing empirical distributions of estimates and determining decision thresholds; and the Mahalanobis distance for quantitative comparison of the analyzed realizations with a reference region and for formalizing the criterion of membership in the class of random sequences. Using a test case based on a deterministic sequence of natural numbers, it was established that Shannon entropy may yield a false-positive conclusion of randomness, whereas spectral entropy reliably detects non-randomness. The study of random sequences generated by a physical generator under different operating modes made it possible to conclude that the spectral entropy method detects degradation of sequence randomness when the generator operating conditions are chosen incorrectly. It should be noted that, in terms of effectiveness for the problem under consideration, the proposed spectral entropy method is not inferior to the standard NIST STS tests and, in some cases, outperforms them. Within the conducted experiments, it was established that the synthesized sequences generated using the ChaCha20 stream cipher satisfy the randomness criterion obtained by the spectral entropy method, which is interpreted as compliance with the requirements imposed on cryptographic sources of randomness. The study also showed that the developed method makes it possible to detect non-randomness in sequences generated by linear feedback shift registers (LFSRs). The scientific novelty of the work lies in the fact that а method for evaluating the quality of random and pseudorandom number generators based on spectral entropy computation has been theoretically substantiated and developed to a level of readiness for practical application. It has been established that, compared with Shannon entropy, the method provides greater robustness in randomness quality assessment. The practical significance lies in improving the efficiency of assessing the quality of random and pseudorandom sequences.</p>
      </abstract>
      <kwd-group xml:lang="en">
        <kwd>Randomness</kwd>
        <kwd>bit sequence</kwd>
        <kwd>spectral entropy</kwd>
        <kwd>power spectral density</kwd>
        <kwd>bootstrap method</kwd>
        <kwd>statistical testing</kwd>
        <kwd>Mahalanobis distance (metric)</kwd>
        <kwd>interquartile range</kwd>
        <kwd>linear feedback shift registers</kwd>
      </kwd-group>
    </article-meta>
  </front>
</article>
