Cargando…

Time-Adaptive Statistical Test for Random Number Generators

The problem of constructing effective statistical tests for random number generators (RNG) is considered. Currently, there are hundreds of RNG statistical tests that are often combined into so-called batteries, each containing from a dozen to more than one hundred tests. When a battery test is used,...

Descripción completa

Detalles Bibliográficos
Autor principal: Ryabko, Boris
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7517164/
https://www.ncbi.nlm.nih.gov/pubmed/33286402
http://dx.doi.org/10.3390/e22060630
_version_ 1783587166881841152
author Ryabko, Boris
author_facet Ryabko, Boris
author_sort Ryabko, Boris
collection PubMed
description The problem of constructing effective statistical tests for random number generators (RNG) is considered. Currently, there are hundreds of RNG statistical tests that are often combined into so-called batteries, each containing from a dozen to more than one hundred tests. When a battery test is used, it is applied to a sequence generated by the RNG, and the calculation time is determined by the length of the sequence and the number of tests. Generally speaking, the longer is the sequence, the smaller are the deviations from randomness that can be found by a specific test. Thus, when a battery is applied, on the one hand, the “better” are the tests in the battery, the more chances there are to reject a “bad” RNG. On the other hand, the larger is the battery, the less time it can spend on each test and, therefore, the shorter is the test sequence. In turn, this reduces the ability to find small deviations from randomness. To reduce this trade-off, we propose an adaptive way to use batteries (and other sets) of tests, which requires less time but, in a certain sense, preserves the power of the original battery. We call this method time-adaptive battery of tests. The suggested method is based on the theorem which describes asymptotic properties of the so-called p-values of tests. Namely, the theorem claims that, if the RNG can be modeled by a stationary ergodic source, the value [Formula: see text] goes to [Formula: see text] when n grows, where [Formula: see text] is the sequence, [Formula: see text] is the p-value of the most powerful test, and h is the limit Shannon entropy of the source.
format Online
Article
Text
id pubmed-7517164
institution National Center for Biotechnology Information
language English
publishDate 2020
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-75171642020-11-09 Time-Adaptive Statistical Test for Random Number Generators Ryabko, Boris Entropy (Basel) Article The problem of constructing effective statistical tests for random number generators (RNG) is considered. Currently, there are hundreds of RNG statistical tests that are often combined into so-called batteries, each containing from a dozen to more than one hundred tests. When a battery test is used, it is applied to a sequence generated by the RNG, and the calculation time is determined by the length of the sequence and the number of tests. Generally speaking, the longer is the sequence, the smaller are the deviations from randomness that can be found by a specific test. Thus, when a battery is applied, on the one hand, the “better” are the tests in the battery, the more chances there are to reject a “bad” RNG. On the other hand, the larger is the battery, the less time it can spend on each test and, therefore, the shorter is the test sequence. In turn, this reduces the ability to find small deviations from randomness. To reduce this trade-off, we propose an adaptive way to use batteries (and other sets) of tests, which requires less time but, in a certain sense, preserves the power of the original battery. We call this method time-adaptive battery of tests. The suggested method is based on the theorem which describes asymptotic properties of the so-called p-values of tests. Namely, the theorem claims that, if the RNG can be modeled by a stationary ergodic source, the value [Formula: see text] goes to [Formula: see text] when n grows, where [Formula: see text] is the sequence, [Formula: see text] is the p-value of the most powerful test, and h is the limit Shannon entropy of the source. MDPI 2020-06-07 /pmc/articles/PMC7517164/ /pubmed/33286402 http://dx.doi.org/10.3390/e22060630 Text en © 2020 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Ryabko, Boris
Time-Adaptive Statistical Test for Random Number Generators
title Time-Adaptive Statistical Test for Random Number Generators
title_full Time-Adaptive Statistical Test for Random Number Generators
title_fullStr Time-Adaptive Statistical Test for Random Number Generators
title_full_unstemmed Time-Adaptive Statistical Test for Random Number Generators
title_short Time-Adaptive Statistical Test for Random Number Generators
title_sort time-adaptive statistical test for random number generators
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7517164/
https://www.ncbi.nlm.nih.gov/pubmed/33286402
http://dx.doi.org/10.3390/e22060630
work_keys_str_mv AT ryabkoboris timeadaptivestatisticaltestforrandomnumbergenerators