Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60886 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38919 invoked from network); 19 Jun 2012 10:23:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jun 2012 10:23:38 -0000 Authentication-Results: pb1.pair.com header.from=tjerk.meesters@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tjerk.meesters@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.42 as permitted sender) X-PHP-List-Original-Sender: tjerk.meesters@gmail.com X-Host-Fingerprint: 209.85.210.42 mail-pz0-f42.google.com Received: from [209.85.210.42] ([209.85.210.42:62758] helo=mail-pz0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 02/70-34236-82350EF4 for ; Tue, 19 Jun 2012 06:23:37 -0400 Received: by dalf4 with SMTP id f4so9127442dal.29 for ; Tue, 19 Jun 2012 03:23:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; bh=fUZ4zFNH8T4r8BE3lsNbpKfIvecyPvArdz3UbM1Ficg=; b=bAPrvbf9FfVnY0zoRqqsZxVtTuk/LVumrkRZRrs0xdp8KNvfeC2dX++ry3P5XN+G+W ImgStZMVHv4FJ5+2Nv4murrL8kT+L3v1wgJ5eCorcO/Lol8g3xWojBrYgPPmEvzqNWqi LPTvSsbbdoG1nGyJT8P+CFMrmZpxEEkgw6ysOeQCGsYdVZvrDKWxkATR3b/zD/LbVu/t 2Dx99XlhbTbth750YADoZALhY+Q2IhrYEuELGQc5WShHewGRDXlJhAv2llWQQeCbHg6x M+y9qddwq0G2sfhQjvmIrKwJfNFWeYJ6ZmSpCatmTBqKmDfm5WGTAMMB5FOW5jGylWr9 7M7A== Received: by 10.68.116.203 with SMTP id jy11mr61716040pbb.129.1340101414135; Tue, 19 Jun 2012 03:23:34 -0700 (PDT) Received: from [192.168.1.104] (bb42-60-29-211.singnet.com.sg. [42.60.29.211]) by mx.google.com with ESMTPS id jp10sm24839664pbb.16.2012.06.19.03.23.31 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Jun 2012 03:23:33 -0700 (PDT) References: In-Reply-To: Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-ID: Cc: "internals@lists.php.net" X-Mailer: iPhone Mail (9B206) Date: Tue, 19 Jun 2012 18:23:28 +0800 To: Adam Jon Richardson Subject: Re: [PHP-DEV] [RFC] Add hash_pbkdf2 function From: tjerk.meesters@gmail.com (Tjerk Meesters) On 19 Jun, 2012, at 2:24 PM, Adam Jon Richardson wrote:= > On Mon, Jun 18, 2012 at 7:14 PM, Anthony Ferrara wro= te: >> https://wiki.php.net/rfc/hash_pbkdf2 >>=20 >> What are your thoughts? >=20 > That's very nice, indeed. >=20 > One thing I'm wondering about is whether the last parameter could be > changed from: > raw_output =3D false >=20 > To something like: > output =3D "hex" (also allowing output =3D "raw", output =3D "base64") >=20 That wouldn't be consistent with the rest of the hash_ family though :) > Just thinking that most of the time I'd prefer storing the hashed > passwords as base64-encoded strings just because it's more compact, > but this isn't a big deal, just a thought. >=20 > Really nice work! >=20 > Adam >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20