davidbau / seedrandom

seeded random number generator for Javascript
2.04k stars 160 forks source link

[question] reverse PRNG #51

Closed trsh closed 6 years ago

trsh commented 6 years ago

Would it be possible to have an input of random numbers in correct order and get an output what is the seed?

GreenBattery commented 6 years ago

maybe if you knew the algorithm and all the parameters of the RNG, you could attempt something similar to a proof by induction for every possible seed value.

Basically, in my view, probably not.