note 14186 deleted from function.crc32 by alindeman

From: Date: Wed, 01 May 2002 12:30:45 +0000
Subject: note 14186 deleted from function.crc32 by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-30044@lists.php.net to get a copy of this message
Some quick reverse engineering shows they're using the standard CRC32 parameters: Polynomial 0x04C11DB7l Initial register value 0xFFFFFFFF Register is inverted at end of calculation Bytes are reflected as they come in, and the result is reflected before it is returned. The documentation says this function returns the CRC polynomial of the string - that's a little misleading IMHO. I'd say it simply returns the CRC of the string. The polynomial is a magic number in the calculation.

« previous php.notes (#30044) next »