note 74518 rejected from function.crc32 by vincent
| From: | vincent@php.net | Date: | Sun, 15 Apr 2007 19:33:47 +0000 |
| Subject: | note 74518 rejected from function.crc32 by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-125422@lists.php.net to get a copy of this message | ||
Note Submitter: shaoyu73 at gmail dot com
----
It adds more confusion with the new hash() function producing different outputs:
dechex(crc32('a')): e8b7be43
hash('crc32', 'a'): 6b9b9319
hash('crc32b', 'a'): 43beb7e8
Now it appears that the original implementation of crc32() outputs a reversed byte order of the new
hash('crc32b',-) version. Someone please clarify the situation a little bit as to which
version is the right one to use (standard, platform dependency etc.), thanks!