Welcome Guest, Not a member yet? Register   Sign In
Randomly generated string seems to be the same if functions are called at very similar times
#6

[eluser]rogierb[/eluser]
yeah, rand() uses the older libc library. mt_rand() uses a different (faster) algorithm based on the Mersenne Twister (mt).
It produces a better random number alhough anything generated by code is pseudo random.

Something like random.org provides true random number. There are more services out there like them


Messages In This Thread
Randomly generated string seems to be the same if functions are called at very similar times - by El Forum - 09-14-2012, 02:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB