How can i check for randomness of a sequence

17 ビュー (過去 30 日間)
munazah lyle
munazah lyle 2023 年 6 月 6 日
回答済み: Divyam 2023 年 6 月 7 日
How can i check for randomness of a sequence that has been used to encrypt image?
  1 件のコメント
Adam Danz
Adam Danz 2023 年 6 月 6 日
編集済み: Adam Danz 2023 年 6 月 6 日
See wiki: randomness tests to get started.

サインインしてコメントする。

回答 (1 件)

Divyam
Divyam 2023 年 6 月 7 日
MATLAB has an inbuilt function called runtest() which returns test decisions for randomness. For more details about this function you can look into MATLAB documentation for this function: Run test for randomness - MATLAB runstest - MathWorks India
You can implement your own tests (tests from TestU01 and Diehard tests) using MATLAB, this answer from Peter summarizes the essence of running tests on your/MATLAB's random number generator: https://in.mathworks.com/matlabcentral/answers/36531-statistical-test-for-random-number-generators#answer_45698
More information about Dieharder (to perform a battery of tests on your randomly generated sequence): Robert G. Brown's General Tools Page (duke.edu)

カテゴリ

Help Center および File ExchangeHypothesis Tests についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by