Random Binary Bits Generation
5 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Hassaan
on 23 Jul 2024
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.
0 Comments
See Also
Categories
Find more on Particle & Nuclear Physics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!