[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
**Subject**: **Re: Getting randomic integers**
**From**: Wolfgang Pupp <wolfgang.pupp@...>
**Date**: Sun, 17 Jan 2010 21:50:00 +0100

2010/1/17 Rob Kendrick <rjek@rjek.com>
>
> Wolfgang Pupp <wolfgang.pupp@gmail.com> wrote:
>
> > What I want is essentially a "getrandomseed", which can
> > be used for resuming the generation of random numbers later,
> > with perfectly predictable output.
>
> You can do this with a cryptographic hash. For each "number" you want
> out, hash together your seed and an index. [...]
Thanks for the quick reply! This is exactly what i need, and even better than
what I had in mind :)
Considering how much i thought about this, I ought to ask such questions
more often :)

**References**:
**Re: Getting randomic integers, ***Gé Weijers*
**Re: Getting randomic integers, ***startx*
**Re: Getting randomic integers, ***Klaus Ripke*
**Re: Getting randomic integers, ***Luiz Henrique de Figueiredo*
**Re: Getting randomic integers, ***Klaus Ripke*
**Re: Getting randomic integers, ***Rob Kendrick*
**Re: Getting randomic integers, ***Erik Lindroos*
**Re: Getting randomic integers, ***Klaus Ripke*
**Re: Getting randomic integers, ***Wolfgang Pupp*
**Re: Getting randomic integers, ***Rob Kendrick*