Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68766 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20955 invoked from network); 30 Aug 2013 23:27:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Aug 2013 23:27:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.41 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 74.125.82.41 mail-wg0-f41.google.com Received: from [74.125.82.41] ([74.125.82.41:53248] helo=mail-wg0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/E3-00443-56A21225 for ; Fri, 30 Aug 2013 19:27:33 -0400 Received: by mail-wg0-f41.google.com with SMTP id b12so114254wgh.0 for ; Fri, 30 Aug 2013 16:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bpOElNaczXhz1Lp7/iafH/6gNZ8KWy6XSXxY6PDnjFA=; b=SOest1z35rmYEhuCRVRX5dD8yFYvYe2MIblhA6M2bjU+dkGC89pbOmPTSGTR5HStTv iIAGuo5L/70s4homF5XgNiwKJ9sbHhifecY7gLrIEVOIfabebS2753cvJZPyxiPMmXh+ vDOHJtdPRkpKENPJ5E6xxogL44w1H5fOd6GGj1IgFWF3XlObG6hsJhsSHiSSkShr2u1Q EaA2bJGPlz//GRitP2J9QsWiNxNJTxb7i/OKWs6MP8Hd6RK+vAZZSb0khKCkribUjonL mY7gN/EAa7xq8YHGulN0mbBOMSxnV81BcX4ViiprapUi/o5mAC87uz642PBpNEsN/ukA C6tQ== MIME-Version: 1.0 X-Received: by 10.194.122.129 with SMTP id ls1mr3794153wjb.37.1377905249053; Fri, 30 Aug 2013 16:27:29 -0700 (PDT) Received: by 10.216.182.193 with HTTP; Fri, 30 Aug 2013 16:27:29 -0700 (PDT) In-Reply-To: <5220F973.5000000@marc-bennewitz.de> References: <521E64B6.30703@marc-bennewitz.de> <521F37E5.5040203@gmail.com> <5220F973.5000000@marc-bennewitz.de> Date: Sat, 31 Aug 2013 00:27:29 +0100 Message-ID: To: Marc Bennewitz Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=089e012299c8e7725604e5329086 Subject: Re: [PHP-DEV] More powerful (and backward compatible) API of random number generator functions From: leight@gmail.com (Leigh) --089e012299c8e7725604e5329086 Content-Type: text/plain; charset=ISO-8859-1 On 30 August 2013 20:58, Marc Bennewitz 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. --089e012299c8e7725604e5329086--