Difference between CRC and hash method (MD5, SHA1)

2019-02-17 18:05发布

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条回答
够拽才男人
2楼-- · 2019-02-17 18:19

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.

查看更多
三岁会撩人
3楼-- · 2019-02-17 18:28

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

查看更多
登录 后发表回答