Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60800 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73214 invoked from network); 12 Jun 2012 12:01:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jun 2012 12:01:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; 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:40992] helo=mail-qc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EE/7C-18025-4AF27DF4 for ; Tue, 12 Jun 2012 08:01:41 -0400 Received: by qcmt36 with SMTP id t36so2622165qcm.29 for ; Tue, 12 Jun 2012 05:01:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=MMg4+S97z53zImTKfsUJD7uMwdFXYyKX71Hivhmew1U=; b=UdByP6S8DCKMnESZ7lyQzA5T+4dybTKeWhsP0Ir1lokgNLusSg676tVfkHPE8ZQ75C db1CUlSjJY95AA2vvBrdkJj0l4LvU4WDwDtkV06fhzad+MnuK2EmvJ+06+gSZoGWwLRR QhUHRNid3eY9bQQ9GBFQeDMa5XcN0KBFY9av2fFBdk25gnGj3Uvau1kv9h9/3ogNHdUQ PKaeB9+fX/4D48f2RlUIzrZokZUQAHI+wk6X7cHjbMMpWuVME0BTM7cFP3zT5pt5h/OD xnavesakUPAcnJnjNS5l8AsLozWmQgROJewqh5J19YEAh97DgP3nAQqAv65iykLPARlZ HAEg== MIME-Version: 1.0 Received: by 10.229.135.21 with SMTP id l21mr8177875qct.61.1339502498123; Tue, 12 Jun 2012 05:01:38 -0700 (PDT) Received: by 10.229.49.204 with HTTP; Tue, 12 Jun 2012 05:01:38 -0700 (PDT) Date: Tue, 12 Jun 2012 08:01:38 -0400 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: PBKDF2 addition to OpenSSL - Why Not Hash? From: ircmaxell@gmail.com (Anthony Ferrara) Hello all, I noticed that yesterday a patch was committed to trunk to add PBKDF2 support to the OpenSSL extension. I 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. I had added a patch back in January for that very feature (adding PBKDF2 to Hash). https://bugs.php.net/bug.php?id=60813 Personally, I'd MUCH rather see it in hash(), as it's enabled on far more installs (every one) than openssl, Because of this, I think it would be far more useful to add it to hash. Should I create a pull request for this, to implement it in hash instead of OpenSSL? What do you think? Thanks Anthony