Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18897 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27238 invoked by uid 1010); 14 Sep 2005 14:02:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27221 invoked from network); 14 Sep 2005 14:02:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Sep 2005 14:02:28 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:58516] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 64/01-41173-47D28234 for ; Wed, 14 Sep 2005 10:02:28 -0400 Received: from localhost (strato.aixcept.de [81.169.182.136]) by strato.aixcept.de (Postfix) with ESMTP id 538AA35C381; Wed, 14 Sep 2005 16:25:10 +0200 (CEST) Date: Wed, 14 Sep 2005 16:02:22 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <588332942.20050914160222@marcus-boerger.de> To: Sara Golemon Cc: Ron Korving , internals@lists.php.net In-Reply-To: <002401c5b2ea$fd593320$6c051fac@lighthammer> References: <431C2738.2040602@wp.pl> <67.D1.33268.C615C134@pb1.pair.com> <431D3B3D.3050607@wp.pl> <65.D8.33268.D338D134@pb1.pair.com> <002401c5b2ea$fd593320$6c051fac@lighthammer> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: crc32 From: helly@php.net (Marcus Boerger) Hello Sara, nice and helpfull idea best regards marcus Tuesday, September 6, 2005, 3:57:38 PM, you wrote: > I'd suggest a set of filters as an add-on to the mhash extension: > mhash.crc32 > mhash.md5 > mhash.sha1 > mhash.sha256 > etc.... > -Sara > ----- Original Message ----- > From: ""Ron Korving"" > Newsgroups: php.internals > To: > Sent: Tuesday, September 06, 2005 4:48 AM > Subject: Re: crc32 >> With a crc function the way you propose it, such a filter could be >> effectively made in userspace, but you could of course also implement such >> a >> filter in the core of php which could do the same trick. Maybe both would >> be >> nice. >> >> Ron >> >> >> "Wojtek Meler" schreef in bericht >> news:431D3B3D.3050607@wp.pl... >>> Ron Korving wrote: >>> > Wouldn't it be more practical to implement these as stream filters? >>> >>> Sure - I was not aware PHP5 streams - I'm still using PHP4 >>> string.base64 is good choice. But I'm not sure if crc fit to streams. >>> You can always implement fast userland filter with such function ;) .