Re: More powerful (and backward compatible) API of random number generator functions
| From: | Leigh | Date: | Fri, 30 Aug 2013 23:27:29 +0000 |
| Subject: | Re: More powerful (and backward compatible) API of random number generator functions | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68766@lists.php.net to get a copy of this message | ||
On 30 August 2013 20:58, Marc Bennewitz <php@marc-bennewitz.de> wrote:
> what is the best algorithm?
Well that is platform dependant. For example on FreeBSD you'd hope
/dev/random was used (which does not block like linux, and generates a
crypto quality pseudo-random stream)
Point being, "best" is not easily defined by a constant.