skip to Main Content

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


  1. 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.

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search