Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61074 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19203 invoked from network); 3 Jul 2012 00:24:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jul 2012 00:24:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:47457] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C4/38-13131-8DB32FF4 for ; Mon, 02 Jul 2012 20:24:57 -0400 Received: by yenl12 with SMTP id l12so5479542yen.29 for ; Mon, 02 Jul 2012 17:24:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=qEes+dzU/JnQW7tnM/0tcXXAkFx5SXKi+m/DJy0uTUA=; b=Ugu5gY0i2iMCpRT14Gqe7xipmxFhzM3vgM4kvnbXcHHjzHiXgDZc+oIdfldsI9E6Rv Jk45/hK97JQjjBrISSApn+8IkOLXTw+cziSBGZ2w1hjBm/OFqMvfEJQYqpkA34+6kxoA YQts6NdUcD/Gccsu+sjtSNgscqb9/ndhEx2PRYaQihkeovpgRqVgMmnP2+4YFkU+4u5S fbCDJEKeq4Q5hw/pPuCr2ITbOpAmxpQrRv/v4CUiBZdwAj+RsIR4DDdj6keLXVyp+AdD zsJjJnuNq2aXhJvIiTtx5DRf2mOcHRkODVUSOq3U0c9IuZ1QWaXi3S8e4LBv/SjRtXks G/yg== MIME-Version: 1.0 Received: by 10.50.104.170 with SMTP id gf10mr6778695igb.52.1341275093145; Mon, 02 Jul 2012 17:24:53 -0700 (PDT) Sender: php@golemon.com Received: by 10.64.170.71 with HTTP; Mon, 2 Jul 2012 17:24:53 -0700 (PDT) X-Originating-IP: [173.252.71.3] In-Reply-To: References: Date: Mon, 2 Jul 2012 17:24:53 -0700 X-Google-Sender-Auth: 0SD3nkP7E5BF21oyHnLgYlCd_RE Message-ID: To: Anthony Ferrara Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=e89a8f2357d779172704c3e1f12a X-Gm-Message-State: ALoCoQmfZpYcB9zX/Ed8Fq4XdB/smp4p9uTaggqOwHKUiTL70l4akGudLjgkNZCaekmXcQ62XUxX Subject: Re: [PHP-DEV] [VOTE] Hash_pbkdf2 From: pollita@php.net (Sara Golemon) --e89a8f2357d779172704c3e1f12a Content-Type: text/plain; charset=ISO-8859-1 I'd like to see hash_init() support this mode as well (for completeness). Perhaps something like the following: $ctx = hash_init("sha512", HASH_PBKDF2, $salt, array('length' => 32, 'iterations' => 5000)); The new fourth parameter being an overloadable options generic so that we don't have an endless list of parameters for all the possible hashing types. -Sara On Mon, Jul 2, 2012 at 9:34 AM, Anthony Ferrara wrote: > Hello all, > > I've opened voting for the hash_pbkdf2 RFC adding hash_pbkdf2() to master: > > https://wiki.php.net/rfc/hash_pbkdf2#vote > > Thanks, > > Anthony > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --e89a8f2357d779172704c3e1f12a--