Clear Filters
Clear Filters

Random Binary Bits Generation

9 views (last 30 days)
Subodh Singh
Subodh Singh on 23 Jul 2024 at 10:00
Answered: Hassaan on 23 Jul 2024 at 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

Answers (1)

Hassaan
Hassaan on 23 Jul 2024 at 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.

Categories

Find more on Encryption / Cryptography 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!