Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38083 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78690 invoked from network); 2 Jun 2008 17:06:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jun 2008 17:06:43 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.236 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.198.236 rv-out-0506.google.com Received: from [209.85.198.236] ([209.85.198.236:57480] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EB/5E-26717-1A824484 for ; Mon, 02 Jun 2008 13:06:42 -0400 Received: by rv-out-0506.google.com with SMTP id g37so1442361rvb.23 for ; Mon, 02 Jun 2008 10:06:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=QcKUfKO7/EXWfHYYoMPC61/0xUOSpsBb6+xq1iydw8w=; b=AcXxG7Ak9abqGQDnXtvOurLKdX8T+VlkcbZVIaCf8ONPqKBJ6T+W1NAvzh0t8OmlYrgqPEG0zGnSEreBJLEC7W1aL8/00zSfIVd9o4U+SqqU7d561WyO0QUEEVCH/ykHHEoNAZ1a859HNsEomTQL5VlpEKOlb+b8dsGoZJa7HcI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GPpkttb2pEkVsAjwGv6PQ5zT0ispQI6xNR2A9y0WYm7xJL7Aqoc/XYQEGwycAWuOUyfSmvaUVVDKRTkbDdpfWtljl+5LlcEv386gomSWJ/u4c8X7RN9/qUAp+663vqYGolmygK7XQUBEWd3BUmPeDpvW35kbshtu3WxUfU5StfE= Received: by 10.141.115.6 with SMTP id s6mr5109391rvm.159.1212426398269; Mon, 02 Jun 2008 10:06:38 -0700 (PDT) Received: by 10.140.178.14 with HTTP; Mon, 2 Jun 2008 10:06:38 -0700 (PDT) Message-ID: Date: Mon, 2 Jun 2008 19:06:38 +0200 To: "Scott MacVicar" Cc: "Derick Rethans" , internals , "Sara Golemon" In-Reply-To: <4843CCB4.8050004@php.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4843CCB4.8050004@php.net> Subject: Re: [PHP-DEV] Drop ext/mhash and add an emulation layer in ext/hash (5.3+), call for help From: pierre.php@gmail.com ("Pierre Joye") On Mon, Jun 2, 2008 at 12:34 PM, Scott MacVicar wrote: > Pierre Joye wrote: >> >> On Mon, Jun 2, 2008 at 10:21 AM, Derick Rethans wrote: >>> >>> On Mon, 2 Jun 2008, Pierre Joye wrote: >>> >>>> While working on the windows ports, I asked Sara about the mhash >>>> status in regard of the new shiny ext/hash. The plan is to remove >>>> ext/hash completely and emulate it in ext/hash to keep the BC. It >>>> could even a configuration flag if one likes to be sure to clean his >>>> code to use only the hash APIs. >>> >>> The mhash extension features some more versions of some algorithms: >>> http://mhash.sourceforge.net/ But why bother changing it? >> >> Which algo(s) (or algo version) is not supported by ext/hash? I did >> not spot one after a quick read. >> > > sha192 and sha224 > snefru128 > md2 > >>> I've not heard of any issues about ext/mhash. >> >> My main reasons would be to do not have to maintain ext/mhash and the >> libmhash Windows port. >> >> Cheers, > > I'm happy to see us removing a dependency, especially if it makes thigns > easier to build on Windows. In case someone likes to do it, Scott has volunteered and has already added some of the missing algo in hash. He will also add the BC layer. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org