I need an algorithm that pretty much will turn a unix timestamp into a suitably random number, so that if I "play back" the timestamps I get the same random numbers.
And here's what I mean by suitably:
- Most humans will not detect a loop or pattern in the random numbers.
- It need not be cryptographically secure.
- All numbers must be capable of being generated. (I've found that LFSR don't do this)
- The numbers are 32 bit integers
And I would like it to be fairly fast.
So far my idea is to just seed a PRNG over and over, but I'm not sure if that's the best way to handle this.
Any thoughts and ideas will be much appreciated.
Thanks.