Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 03-27-2016, 06:56
dila dila is offline
Friend
 
Join Date: Jan 2010
Posts: 60
Rept. Given: 12
Rept. Rcvd 32 Times in 14 Posts
Thanks Given: 35
Thanks Rcvd at 74 Times in 20 Posts
dila Reputation: 32
Thanks for explaining that, it makes sense now.

I'm puzzled by another property of CRC. According to Wikipedia, the function is supposed to be linear:

u = crc32(a ^ b);
v = crc32(a) ^ crc32(b);

Meaning that u==v for bytes a and b. But I'm finding that letting a=0x55 and b=0xAA gives me the checksums:

u=0xFF000000 and v=0x2D02EF8D

So in what sense is CRC linear?
Reply With Quote
 

Tags
checksum, crc

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compute the inverse of a polynomial under GF(2^8) ? BlackWhite General Discussion 0 10-10-2015 21:24


All times are GMT +8. The time now is 00:05.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )