Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79582 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90845 invoked from network); 11 Dec 2014 22:29:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Dec 2014 22:29:39 -0000 Authentication-Results: pb1.pair.com header.from=keisial@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=keisial@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.174 as permitted sender) X-PHP-List-Original-Sender: keisial@gmail.com X-Host-Fingerprint: 209.85.212.174 mail-wi0-f174.google.com Received: from [209.85.212.174] ([209.85.212.174:37427] helo=mail-wi0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A0/44-58820-2DA1A845 for ; Thu, 11 Dec 2014 17:29:39 -0500 Received: by mail-wi0-f174.google.com with SMTP id h11so803752wiw.1 for ; Thu, 11 Dec 2014 14:29:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=GdfBuzLzBf8FrmvfrIb1ufbwIXffJihVWl0s6hq6hGo=; b=QPjXx5hLRmzprNcsTj6MoApY1iw9L0R2EiAqsE8fByg6daFZJidf7GHScPxhTL0hSX fiGFBhwrf62UgxQgRCJPV/m27OmoW+EIIhrBSe6y9JNDd/vLGUbXERB7AHhenpplcLxZ 0nrSfR5iSljs9hoRT4bQVPl8x54Gw930LBG2JGTHkgRTmMpbZsgVdyYOALEBuJIlxV/M tUIfGloleJDH3DxGlh9SS5bQK7vtboWiOZ21eUsYK1v50mPLrgpKuKf3iCuWCDQKnfP+ 51rZTZuZuRuQrD6E7vTU+5n8i6WQipgRB9H1SXKoo2cafjG58wh41N12eB5Whm7hDI7A QtZg== X-Received: by 10.180.94.230 with SMTP id df6mr1988801wib.25.1418336975674; Thu, 11 Dec 2014 14:29:35 -0800 (PST) Received: from [192.168.1.27] (225.Red-88-23-227.staticIP.rima-tde.net. [88.23.227.225]) by mx.google.com with ESMTPSA id jp3sm864004wid.9.2014.12.11.14.29.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Dec 2014 14:29:34 -0800 (PST) Message-ID: <548A1ACD.5010903@gmail.com> Date: Thu, 11 Dec 2014 23:29:33 +0100 User-Agent: Thunderbird MIME-Version: 1.0 To: internals@lists.php.net References: <5487E91D.6070602@fedoraproject.org> <648FEBB3-9D71-4AE3-BFDA-5ED268FC02A7@ajf.me> <5489BA91.30503@cubiclesoft.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] libmcrypt: abandonware? From: keisial@gmail.com (=?UTF-8?B?w4FuZ2VsIEdvbnrDoWxleg==?=) On 11/12/14 20:44, Leigh wrote: > I actually think a generic random bytes function outside of any > cryptographic extensions would be a good idea. Even mcrypt seems like > overkill if all you want is random strings. mcrypt_create_iv should be left as an alias to that function, even if no mcrypt extension is available.