Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57435 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3385 invoked from network); 19 Jan 2012 22:05:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2012 22:05:48 -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.212.170 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.212.170 mail-wi0-f170.google.com Received: from [209.85.212.170] ([209.85.212.170:63783] helo=mail-wi0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/59-37696-AB3981F4 for ; Thu, 19 Jan 2012 17:05:47 -0500 Received: by wibhi18 with SMTP id hi18so420404wib.29 for ; Thu, 19 Jan 2012 14:05:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=1hAbukUFgO+4UqsQ6iwTQNAwYhE7FZRjExgZsDIj+Ts=; b=p6EEytnqm73PH2066z1MiUIku3pKfQcJ1mreK2CiAwKE0F38ULfBuWj5vGO17yq2gp 0J13QwuFapLGAtBnCCmpzq97fiUTMtpL3W6NCdmfYLH6GWPO4qTVdRrFhgzn8UM1lyS5 o37qePXl7+4QPZZksL3JqEB/Ty8NSckS+T28w= MIME-Version: 1.0 Received: by 10.181.13.208 with SMTP id fa16mr47739333wid.12.1327010743757; Thu, 19 Jan 2012 14:05:43 -0800 (PST) Received: by 10.216.155.78 with HTTP; Thu, 19 Jan 2012 14:05:43 -0800 (PST) Date: Thu, 19 Jan 2012 17:05:43 -0500 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: [Patch] Implement PBKDF2 in the Hash package From: ircmaxell@gmail.com (Anthony Ferrara) Hi all, I've implemented a patch (attached to the bug, but in a gist as well here https://gist.github.com/1641725 ) that implements a hash_pbkdf2() function. The patch also slightly refactors hash_hmac() to split out a little bit of common functionality (since pbkdf2 relies upon hmac). https://bugs.php.net/bug.php?id=60813 I've targeted the patch towards trunk for now, but I'd like to see if it could get into 5.3 and 5.4 as well (in a point release). Let me know your thoughts, Thanks, Anthony