www.GetXFactor.com

Leading Technology, Science,
Agriculture News and information


Part of the Identityscape.com network...

getxfactor.com jmoodmusic.com smartbusinesschoices.com mintdepot.com lowfaresalways.com evangelicalview.com shoppingpodder.com soproudlywehail.com webnews.ws currenthumor.com

 

 

About CRC-32 checksum
   Science and Technology news... Forum Index -> Compression Forum  
View previous topic :: View next topic  
Author Message
Guest







PostPosted: Thu Jun 05, 2008 10:18 am    Post subject: About CRC-32 checksum Reply with quote

Dear,

I am implementing algorithm to calculating CRC-32 checksum value for a
data.While calculating,wheather I have to consider terms Big endian or
little endian?
In Big endian or Little endian CRC-32 checksum value is same or not?

Thanking you,
Sandeep Lokare.
Back to top
Mark Nelson
Guest






PostPosted: Fri Jun 06, 2008 1:59 pm    Post subject: Re: About CRC-32 checksum Reply with quote

On Jun 5, 5:18 am, lokar...@gmail.com wrote:
[quote]I am implementing algorithm to calculating CRC-32 checksum value for a
data.While calculating,wheather I have to consider terms Big endian or
little endian?
In Big endian or Little endian CRC-32 checksum value is same or not?
[/quote]
Most CRC and checksum algorithms used in compression operate on a
stream of bytes, reading and processing one byte at a time. When that
is the case, you will arrive at identical results regardless of byte
ordering on your machine - the algorithm is not affected by the
machine that is hosting it.

If you read your source file a word at a time, where a 'word' is some
multiple-byte entity, the value you calculate for a checksum or CRC
will be different depending on the word ordering.

There may be some algorithms out there that operate on words but
produce the same result regardless of ordering, yet retain some of the
efficiency gained by clumping, but I am not aware of them.

|
| Mark Nelson - http://marknelson.us
|
Back to top
Display posts from previous:   
   Science and Technology news... Forum Index -> Compression Forum  
Page 1 of 1
All times are GMT

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum