Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60802 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78126 invoked from network); 12 Jun 2012 12:45:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jun 2012 12:45:17 -0000 Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.170 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.216.170 mail-qc0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:48025] helo=mail-qc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/5D-18025-DD937DF4 for ; Tue, 12 Jun 2012 08:45:17 -0400 Received: by qcmt36 with SMTP id t36so2647669qcm.29 for ; Tue, 12 Jun 2012 05:45:14 -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=PRJjnu7NPYGGUb6t5fjdT5VU6ymDcftL+26IEodRoIc=; b=AnpBPV1x7edgPo6Cq4Oltgn2zcCnxWS6pqroAoC/6nBMjL12q9S5G74RaGTV8e/3Oz O8wGZlXtn2cygXYr6+hAJ5KAm/uEzdbfjx0v4jedkRzxT8zerYpAsDWLtYzKx/HBkeAf dLPWFeu9PafdY9uG6ndYb612gBVMyI8ebMLCvsdv7D9k4JUc7nVUXdvefLdtidrQNl6a FQHT0Ea//PyY1grmtincpChz07iNEfmX9x3EiudeTyRq7edIJlGxX4JmCDXgx9rCalKk 5KOEFCnXDB5V1Td6VLSOpE6AsJ2rWP5QU2iUuPwVzlZGk+SCJ0VFrlOHPFFo8Va5SFoN l1cw== MIME-Version: 1.0 Received: by 10.224.221.206 with SMTP id id14mr19393220qab.52.1339505114482; Tue, 12 Jun 2012 05:45:14 -0700 (PDT) Received: by 10.229.49.204 with HTTP; Tue, 12 Jun 2012 05:45:14 -0700 (PDT) In-Reply-To: References: Date: Tue, 12 Jun 2012 08:45:14 -0400 Message-ID: To: Derick Rethans Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] PBKDF2 addition to OpenSSL - Why Not Hash? From: ircmaxell@gmail.com (Anthony Ferrara) Derick, >> I noticed that yesterday a patch was committed to trunk to add PBKDF2 >> support to the OpenSSL extension. =A0I also noted that in the commit >> message, the author indicated that he would have rather added it to >> the hash extension, but wasn't able to. > > Why wasn't he been able to? I haven't spoken to him, but here's part of his original commit message ( https://github.com/php/php-src/commit/f4847efc5d58b3375fa0f326915= 8d5e6ab625c21 ) No easy way to put these in the hash extension since we don't really support optional parameters to certain algorithms. Implemented in openssl for now since it has it already and is pretty stable. > Doesn't hurt to have it in both of course... So sure. Ok, I'll add it to my list to forward port it to git and submit the PR... Anthony