Borrar filtros
Borrar filtros

Random Binary Bits Generation

9 visualizaciones (últimos 30 días)
Subodh Singh
Subodh Singh el 23 de Jul. de 2024 a las 10:00
Respondida: Hassaan el 23 de Jul. de 2024 a las 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

Respuestas (1)

Hassaan
Hassaan el 23 de Jul. de 2024 a las 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.

Categorías

Más información sobre Encryption / Cryptography en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by