Difference between CRC and hash method (MD5, SHA1)

6.3k views Asked by At

Both CRC and hash methods can be used to verify the integrity of the original data. Why do most systems uses hash method nowadays?

2

There are 2 answers

0
SLaks On BEST ANSWER

CRC was designed to prevent transmission errors, not malicious action.

Therefore, it isn't collision resistant.

In particular, the linear properties of CRC codes even allow an attacker to modify a message in such a way as to leave the check value unchanged

2
Pablo Santa Cruz On

HASH methods (ONE WAY ENCRYPTION) are more complex (and powerful) than simple check codes (CRC). Not only they could be used to verify data integrity, but they also make sure no one could infer the original message that originated the hash value.