http://qs321.pair.com?node_id=273554


in reply to Re: Re: Re: Can I seed srand() with results from rand()?
in thread Can I seed srand() with results from rand()?

> Some people were concerned about repeated calls to rand()

I believe the issue was srand().

> I was saying that this was not the case, as perl uses a PRNG, which given a specific input is completely deterministic.

You seem to think that deterministic steps never reduce the entropy of the system. That is not true. Perhaps you meant "reversible"? rand() is commonly reversible, but srand() can't be.

  • Comment on Re: Re: Re: Re: Can I seed srand() with results from rand()?