random - Is there a somewhat-reliable way to detect that a list of integers came from a common PRNG? -


Actually I'm looking for a detective function, I find it a list of integers (probably between 20 and 100 integers) And let me "yes, 84% chance it has come from a PRNG, I have tested it against the main people, which is the most advanced programming languages", or "No, only 12% chance came from a famous PRNG. "

If it (or constraint) helps, then the integer is always 1 and 999 Will f.

Is it present?

Unless you're ready to break the new ground in number theory, you only know the obsolete It will be able to apply, badly designed or poorly ladled PRNGS is designed to clearly design good PRNG which is what you are trying to do. Random Number Generation is an important part of digital cryptography, so many attempts go into preparing random numbers that meet all known tests.

The PRNG profile has a test battery, for example.

As a comment, the first two sentences are overstated and only strictly correct for the PRNGs that can be used in cryptography. Weak (i.e. more predictable) PRNG can be selected for other domains.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -