Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61016 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6589 invoked from network); 28 Jun 2012 06:15:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jun 2012 06:15:51 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.53 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.53 mail-yw0-f53.google.com Received: from [209.85.213.53] ([209.85.213.53:42320] helo=mail-yw0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1C/95-08168-696FBEF4 for ; Thu, 28 Jun 2012 02:15:50 -0400 Received: by yhp26 with SMTP id 26so2146331yhp.12 for ; Wed, 27 Jun 2012 23:15:47 -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:content-transfer-encoding; bh=MSb1RSIW3CImgdwOCfNX++87Shm35RPTAOirHF6/Jf0=; b=a3sI/2FQEJ24H55CuND8T/KgHeT+PCBlxY3SIv4Hbn5Ly23cWBs/AlTUd0nOb8xu43 2ij1TXEgmZgOxko+fQSZbpFn14x7v5hVZH9/77CahFdi4W7hw+rozSkhrfm5Lc7Vo4Rl QicTNSXhH6SqdzqjPKsmgzBC12ZouVtwIbrJFEK4RRJDzL1meRGFNUIuCBjBN+ZAFh/i XwxT9MNDq5421ac+6z2pCPlVeZu64HWCVMrIdd/A3qiIcWTjs7CV2w9ReXre3trbuKnn 5aSYfmsG5uVB8+eqRnEJ8qC7QeGzPXDH+44j8o170ysP1hYyeA8K/51t+quskgJlBcSZ ee+Q== MIME-Version: 1.0 Received: by 10.100.82.16 with SMTP id f16mr351086anb.18.1340864147434; Wed, 27 Jun 2012 23:15:47 -0700 (PDT) Received: by 10.147.113.7 with HTTP; Wed, 27 Jun 2012 23:15:47 -0700 (PDT) In-Reply-To: <4FEB8327.90005@gmail.com> References: <4FEB8327.90005@gmail.com> Date: Thu, 28 Jun 2012 08:15:47 +0200 Message-ID: To: =?ISO-8859-1?Q?=C1ngel_Gonz=E1lez?= Cc: Gustavo Lopes , Anthony Ferrara , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [DRAFT RFC] Adding Simplified Password Hashing API From: pierre.php@gmail.com (Pierre Joye) hi, On Thu, Jun 28, 2012 at 12:03 AM, =C1ngel Gonz=E1lez wr= ote: > Precisely the point of such constant is to allow the applications to > magically Right, but not a default argument, which is bad in this case, for the reasons explained earlier. > Obviously, any such bump -which I would expect to happen on major release= s- > would hold an entry in the NEWS file explaining that PASSWORD_DEFAULT_HAS= H I have no problem with such constant and let the user uses it instead of a given algo. But then he will do it on purpose and being well informed about the implications. Cheers, --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org