攻击者可以简单地修改与修改数据一起发送的哈希发送的数据吗?
我尝试在谷歌上搜索与此相关的内容,但我找不到任何内容。
攻击者难道不能将修改后的数据的哈希值发送给接收者吗?我假设接收者只是通过算法运行哈希,并且由于哈希与数据匹配(尽管是修改后的数据),接收者只会继续说“好吧,该数据尚未修改”。 我认为哈希比这复杂得多,但这只是我开始学习哈希以来一直存在的一个问题,我想解决它。
I tried searching on Google for something touching on this but I couldn't find anything.
Couldn't an attacker just send along the hash of their modified data to the receiver? I assume that the receiver would just run the hash through the algorithm, and since the hash matches the data (albeit the modified data), the receiver would just go ahead and say "Okay, this data has been unmodified".
I suppose that hashing is a lot more complicated than this, but it was just a question that's been in my mind since I started learning about hashing, and I would like to address it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论