Re: CRC32 Question



NvrBst <nvrbst@xxxxxxxxx> wrote:
+---------------
| Basically I understand CRC from the examples on wikipedia. From wiki
| I gathered that I could add or remove 0's from the beginning of the
| source string and still get the same CRC. It didn't work with the
| CRC32 generators and I found out CRC32 is a little different which I
| don't fully understand what makes it different than CRC other than the
| polynomial used.
+---------------

In CCITT CRC-32, the result register is initialized to all ones,
rather than starting out zero as with earlier CRCs, which enables
CRC-32 to detect changes in message length... basically defeating
precisely what you're trying to accomplish! ;-}


-Rob

-----
Rob Warnock <rpw3@xxxxxxxx>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607

.


Quantcast