Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72376 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73208 invoked from network); 7 Feb 2014 11:32:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Feb 2014 11:32:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.49 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.49 mail-qa0-f49.google.com Received: from [209.85.216.49] ([209.85.216.49:48915] helo=mail-qa0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B7/36-34013-854C4F25 for ; Fri, 07 Feb 2014 06:32:40 -0500 Received: by mail-qa0-f49.google.com with SMTP id w8so4891770qac.22 for ; Fri, 07 Feb 2014 03:32:38 -0800 (PST) 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=tWe9idekdZscKrX943Czwt4QexKyxboYtmZqxqKJwzk=; b=Kh2f3aSMEytN1ZMgFvFyltP38SkTFJHlD0pph9kUafYniigqf2thUK60bd4SrX268i OE/Ow8syw2JTwKg3mi5FIIPaoFCKogr4gRO8mdviZrWeWPl0ajpQTVTMFt9eoBFZbNR6 F/RptQWVf97luGFkdXMorrwYjL8HPyJEXSCdpbkj5xoRpvTRQpmXd0TavlUmrKw3sJoL /aA9G6pNhkYMB5iUuri6NlYYsfNtvuNABWXt5OYEDT4IHzU1wqHVmW++YKe4+LO7CUjt WUbtMwTcyUBgML5iqLBoQGrZAvzuY3FxuXIODo4ToGSDgfXILLZCc+oqkTgdrnyA0+Ad Os1Q== MIME-Version: 1.0 X-Received: by 10.224.11.196 with SMTP id u4mr21329769qau.4.1391772757978; Fri, 07 Feb 2014 03:32:37 -0800 (PST) Received: by 10.140.18.145 with HTTP; Fri, 7 Feb 2014 03:32:37 -0800 (PST) In-Reply-To: References: <52F485C1.4010208@cubiclesoft.com> Date: Fri, 7 Feb 2014 12:32:37 +0100 Message-ID: To: Tjerk Meesters Cc: Yasuo Ohgaki , Thomas Hruska , PHP Development Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Make mcrypt_create_iv() an alias and move the code into /ext/standard From: pierre.php@gmail.com (Pierre Joye) On Fri, Feb 7, 2014 at 12:31 PM, Tjerk Meesters wrote: > Speaking of which, it would be nice if session id generation depended on > this shiny new API as well ... basically we solve two problems: > > 1. An easy way to get a bunch of random bytes > 2. Centralize random number generation internally, i.e. session ids and > password salts are generated with it. > > I'm not sure whether this should extend to providing an easy way to > generate crypto safe random numbers, but that would obviously be nice if > feasible. See my other post today about unifying entropy source. We may discuss that there. -- Pierre @pierrejoye | http://www.libgd.org