This answer mentions the xoshiro128** algorithm and provides a JavaScript implementation.
Question: Is it possible to derive the seed if you know the first random number produced by this generator?
This answer mentions the xoshiro128** algorithm and provides a JavaScript implementation.
Question: Is it possible to derive the seed if you know the first random number produced by this generator?
2
Answers
No, it’s not possible to derive a seed given a single value. There is also no guarantee that you can derive a seed given any number of consecutive values. Even if you pre computed every possible seed value in advance its extremely unlikely that you will find only one sequence thats starts with whatever that first value is.
The xoshiro generators are not cryptographically secure, so they can be broken, given a sufficient number of outputs. They will be secure against a single output number, but not for some larger number.
To the xoshiro website says that the xoshiro256++/xoshiro256** are all-purpose generators, but are not cryptographically secure.