<p>In this work, we define a family of nine statistical randomness tests for collections of short binary strings, by making use of random walk statistics. For a binary sequence of length <InlineEquation ID="IEq1"> <EquationSource Format="TEX">\(\varvec{n}\)</EquationSource> </InlineEquation>, we consider the probability of intersecting the line <InlineEquation ID="IEq2"> <EquationSource Format="TEX">\(\varvec{y=t}\)</EquationSource> </InlineEquation> exactly at <InlineEquation ID="IEq3"> <EquationSource Format="TEX">\(\varvec{k}\)</EquationSource> </InlineEquation> distinct points. Although there are some explicit formulas for these probability values in the literature, those applicable to short sequences are not feasible for computations involving sequences of length <InlineEquation ID="IEq4"> <EquationSource Format="TEX">\(\varvec{256}\)</EquationSource> </InlineEquation> bits or more. On the other hand, approximation techniques, or asymptotic approaches, that should be used only when testing long sequences, are not useful for testing sequences of length between <InlineEquation ID="IEq5"> <EquationSource Format="TEX">\(\varvec{256}\)</EquationSource> </InlineEquation> and <InlineEquation ID="IEq6"> <EquationSource Format="TEX">\(\varvec{4096}\)</EquationSource> </InlineEquation>. The recursive formulas, derived in this paper, made it possible to obtain exact values of the corresponding probability distribution functions. Using these formulas, we provide the necessary figures for testing collections of strings of length <InlineEquation ID="IEq7"> <EquationSource Format="TEX">\(\varvec{2}^{\varvec{7}}, \ \varvec{2}^{\varvec{8}}, \ \varvec{2}^{\varvec{10}}\)</EquationSource> </InlineEquation> and <InlineEquation ID="IEq8"> <EquationSource Format="TEX">\(\varvec{2}^{\varvec{12}}\)</EquationSource> </InlineEquation> bits. Finally, we apply these nine tests to various collections of strings obtained from different pseudorandom number generators as well as to biased sequences to assess whether the proposed tests can effectively detect non-random data.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

RW-9: A family of random walk tests

  • Muhiddin Uğuz,
  • Fatih Sulak,
  • Ali Doğanaksoy,
  • Onur Koçak

摘要

In this work, we define a family of nine statistical randomness tests for collections of short binary strings, by making use of random walk statistics. For a binary sequence of length \(\varvec{n}\) , we consider the probability of intersecting the line \(\varvec{y=t}\) exactly at \(\varvec{k}\) distinct points. Although there are some explicit formulas for these probability values in the literature, those applicable to short sequences are not feasible for computations involving sequences of length \(\varvec{256}\) bits or more. On the other hand, approximation techniques, or asymptotic approaches, that should be used only when testing long sequences, are not useful for testing sequences of length between \(\varvec{256}\) and \(\varvec{4096}\) . The recursive formulas, derived in this paper, made it possible to obtain exact values of the corresponding probability distribution functions. Using these formulas, we provide the necessary figures for testing collections of strings of length \(\varvec{2}^{\varvec{7}}, \ \varvec{2}^{\varvec{8}}, \ \varvec{2}^{\varvec{10}}\) and \(\varvec{2}^{\varvec{12}}\) bits. Finally, we apply these nine tests to various collections of strings obtained from different pseudorandom number generators as well as to biased sequences to assess whether the proposed tests can effectively detect non-random data.