CRC与散列法(MD5,SHA1)之间的区别 [英] Difference between CRC and hash method (MD5, SHA1)

查看:204
本文介绍了CRC与散列法(MD5,SHA1)之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

CRC和哈希方法都可以用来验证原始数据的完整性。为什么大多数系统现在使用散列方法?

解决方案

CRC旨在防止传输错误,而不是恶意行为。因此,它不是抗碰撞的。

特别是,CRC代码的线性特性甚至允许攻击者修改消息的方式是保持检查值不变

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

解决方案

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

这篇关于CRC与散列法(MD5,SHA1)之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆