Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83712 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79984 invoked from network); 24 Feb 2015 22:55:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Feb 2015 22:55:20 -0000 Authentication-Results: pb1.pair.com header.from=padraic.brady@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=padraic.brady@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.44 as permitted sender) X-PHP-List-Original-Sender: padraic.brady@gmail.com X-Host-Fingerprint: 209.85.215.44 mail-la0-f44.google.com Received: from [209.85.215.44] ([209.85.215.44:45133] helo=mail-la0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EA/3A-24698-1510DE45 for ; Tue, 24 Feb 2015 17:55:18 -0500 Received: by labge10 with SMTP id ge10so73447lab.12 for ; Tue, 24 Feb 2015 14:54:58 -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:content-transfer-encoding; bh=AZplauIO3AYha5swAcdz37ZIm0nowEpWhmvUHzVoXtE=; b=oFb7jdpmPIxqnKJ7EV1I5ckRdEncmKXndu8err1fI5SS1eZXV8YwVNC77Mri+/Ra0D 22UejxaTE7CHMLjBmitgGXdAPafzLtW2oK0saRzvUTmriyxY+wFMIHeW16ExHeLGjFAd j+SyoXR6eh4+oOxofx4Po6cXxXsXmeVqcTru2MDBs8586/XL6rNlLYK6/0lsLEqlRb8G xsCiYpLMnAq498ItfCt+FVNzfI1jil0t9TBJNyh4kL7fcsxBRqK7XhEFPX3/BlkiN/TY 9rmXkv09DCcQ9iNVeSBAZVZIXUUa9Gs3x6u8KQ+eUVKRCE1yyC1tG63U4wKqkHfj9NER VVeQ== MIME-Version: 1.0 X-Received: by 10.152.1.1 with SMTP id 1mr129185lai.63.1424818498706; Tue, 24 Feb 2015 14:54:58 -0800 (PST) Received: by 10.112.154.229 with HTTP; Tue, 24 Feb 2015 14:54:58 -0800 (PST) In-Reply-To: References: Date: Tue, 24 Feb 2015 22:54:58 +0000 Message-ID: To: Yasuo Ohgaki Cc: Anthony Ferrara , Pierre Joye , Leigh , Sammy Kaye Powers , PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] [DISCUSSION] Reliable user-land CSPRNG From: padraic.brady@gmail.com (=?UTF-8?Q?P=C3=A1draic_Brady?=) Hi Yasuo, On 24 February 2015 at 22:08, Yasuo Ohgaki wrote: > Random bytes is better. People would use it for IV or like with the > size of IV. If we use string, users loose effective bits. Suggestion was for an additional function, so random_bytes() would still be there ;). Paddy -- P=C3=A1draic Brady http://blog.astrumfutura.com http://www.survivethedeepend.com