vendredi 4 mars 2016

Finding the seed of a Pseudo Random Number Generator given some of the output

For a function in the program that I am currently writing in java, I would like to find the seed of the PRNG given a section of the output. I have been using Mersenne Twister so far ( this one specifically - http://ift.tt/1TwiNkl) , but if there are easier PRNG's out there that would allow me to do something like this, that would be great.

So for example, if I give this section of generated numbers:

1067595299 955945823 477289528 4107218783 4228976476 3344332714 3355579695 227628506 810200273 2591290167 2560260675 3242736208 646746669 1479517882 4245472273 1143372638 3863670494 3221021970 1773610557 1138697238

The completed method would return all of the possible seeds.

Any help at all would be highly appreciated!




Aucun commentaire:

Enregistrer un commentaire