Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73006 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55417 invoked from network); 8 Mar 2014 20:39:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Mar 2014 20:39:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:49042] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4B/E0-44862-9FF7B135 for ; Sat, 08 Mar 2014 15:39:23 -0500 Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id EF4A9E203D; Sat, 8 Mar 2014 20:39:17 +0000 (GMT) Date: Sat, 8 Mar 2014 20:39:17 +0000 (GMT) X-X-Sender: derick@whisky.home.derickrethans.nl To: Nikita Popov cc: PHP internals In-Reply-To: Message-ID: References: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Default mcrypt_create_iv() to /dev/urandom From: derick@php.net (Derick Rethans) On Fri, 7 Mar 2014, Nikita Popov wrote: > As such I would suggest defaulting the mcrypt_create_iv() $source > parameter to MCRYPT_DEV_URANDOM. Objections? No, flip it. This probably has changed in the last 10 years, since I wrote that code :-) cheers, Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug Posted with an email client that doesn't mangle email: alpine