Random Binary Bits Generation

5 次查看(过去 30 天)
Subodh Singh
Subodh Singh 2024-7-23
回答: Hassaan 2024-7-23
Working with NIST Test Suite which have 16 Test to test Randomness of data,
My Problem is I want such random binary bits of length 10^6, which have P-Value over .95 for all the NIST Test, I've spend almost a week trying different Stream Ciphers, RNG PRNG, different combination of these, nothing works for me is it possible to generate these numbers consistantly with desired P-Values.
Thank You

回答(1 个)

Hassaan
Hassaan 2024-7-23
Generating random binary sequences with consistently high P-values (>0.95) across all 16 NIST tests is very challenging due to the diverse and conflicting nature of these randomness tests. A practical approach involves combining different types of random number generators, applying post-processing techniques to tweak the randomness characteristics, and using optimization methods to find the best parameters. Constant validation through simulation is necessary to ensure that the sequences meet the desired statistical thresholds consistently.

类别

Help CenterFile Exchange 中查找有关 Particle & Nuclear Physics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by