Random Binary Bits Generation

9 次查看(过去 30 天)
Subodh Singh
Subodh Singh 2024-7-23,10:00
回答: Hassaan 2024-7-23,10:21
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,10:21
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 中查找有关 Encryption / Cryptography 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by