note 95466 added to function.crc32

From: Date: Mon, 04 Jan 2010 18:03:29 +0000
Subject: note 95466 added to function.crc32
Groups: php.notes 
Request: Send a blank email to php-notes+get-164629@lists.php.net to get a copy of this message
Wondered about the differences in crc32 calculation despite differing return values. <?php echo dechex(crc32('12345')) . "\n"; echo hash('crc32', '12345') . "\n"; echo hash('crc32b', '12345'); ?> -> cbf53a1c b8486542 cbf53a1c And a site such as http://rogeriopvl.com/hashr/ provides further verification. So PHP's crc32() calculates crc32b. ---- Server IP: 87.124.86.45 Probable Submitter: 80.235.208.76 (proxied: 80.235.208.76) ---- Manual Page -- http://www.php.net/manual/en/function.crc32.php Edit -- https://master.php.net/note/edit/95466 Del: integrated -- https://master.php.net/note/delete/95466/integrated Del: useless -- https://master.php.net/note/delete/95466/useless Del: bad code -- https://master.php.net/note/delete/95466/bad+code Del: spam -- https://master.php.net/note/delete/95466/spam Del: non-english -- https://master.php.net/note/delete/95466/non-english Del: in docs -- https://master.php.net/note/delete/95466/in+docs Del: other reasons-- https://master.php.net/note/delete/95466 Reject -- https://master.php.net/note/reject/95466 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#164629) next »