[PHP] crc32() and hash('crc32') Differ

2007-03-18 Thread Morgan Doocy
Hi, I'm curious why I'm getting two different digests of the same message using crc32() and hash('crc32'). I've tried both hash('crc32') and hash('crc32b'), and neither match my crc32(). Some example code: echo join("\n", array_map(create_function('$vals', 'return join(" => ", $vals);'), ar

Re: [PHP] crc32

2004-02-22 Thread Armand Turpel
rom: "Armand Turpel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, February 22, 2004 12:21 PM Subject: [PHP] crc32 Hi, Currently I'm working on a search engine for a website. A mysql table on which searching should be done was created which contains Words of w

[PHP] crc32

2004-02-22 Thread Armand Turpel
Hi, Currently I'm working on a search engine for a website. A mysql table on which searching should be done was created which contains Words of website articles: CREATE TABLE docs_words ( crc32_word int(11) NOT NULL default '0', id_doc int(11) NOT NULL default '0'); As you can see not the r