Solved

CRC or Checksum or XOR or DES

Posted on 2001-07-11
3
1,277 Views
Last Modified: 2007-02-12
Hi,

There is any part or someone that can tell me what is the difference between them and what is the advantages of each one ??

I need to know how they work and if they are efficience.

Thank you
0
Comment
Question by:arocio
3 Comments
 
LVL 5

Expert Comment

by:Droby10
ID: 6275969
crc (cyclical redundancy check) is most comonly used as data verification in the form of a parity bit...it is mostly used for handling data transfers from modulated or spindle devices; crc represents a form of checksum...but you could also say that an md5 hash is a checksum, which in no way resembles a crc value.

xor is a binary function performed on two values.
1 xor 255 = 254, 128 xor 128 = 0, 128 xor 127 = 255...

des is a shared key cryptography system...some of the algorithms used in des make use of xor.
0
 
LVL 1

Accepted Solution

by:
tonimargiotta earned 100 total points
ID: 6343764
A check sum is a hash, a piece of data derived by an alogorithm from a larger piece of data.  Which algorithm you choose will depend on the use you want to make of it rather than any difference in performance.

Order of decreasing efficiency probably (though depending on library)

XOR
CRC
MD5
DES
3DES

If you want protect data from deliberate modification then you should use MD5 and encrypt the hash, there are many commercial and freeware libraries to assist you.  

If you just want to detect accidental corruption then XOR and CRC are accepted algorithms, but remember there is a chance (theoretically over 1:billion for CRC 32) that they can miss errors.

MD5 should be more reliable but is computationally more intensive.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6400710
Did this help you, arocio, so you may award expert(s) who helped you or is more needed here?  You have a number of old questions dating back to last year that remain open, awaiting your response as well.

Thank you for remaining active in your questions here and keeping experts who help you updated with progress.

Moondancer
Community Support Moderator @ Experts Exchange
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Ransomware continues to be a growing problem for both personal and business users alike and Antivirus companies are still struggling to find a reliable way to protect you from this dangerous threat.
Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now