HTTP 摘要身份验证 MD5 冲突
MD5 哈希现在被认为是损坏的,因为可能会发生冲突。这对于 HTTP 摘要身份验证有问题吗?
MD5 hashes are now considered broken, because collision might happen. Is this problematic for HTTP digest authentication?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
MD5 众所周知容易受到碰撞攻击。
HTTP Digest 不需要散列函数的抗冲突性。它使用哈希来验证双方是否具有相同的秘密明文,而不会在途中暴露它。
如果有疑问,只需添加 HTTPS :-)
MD5 is known to be vulnerable to collision attacks.
HTTP Digest does not require collision resistance from the hash function. It uses the hash to verify both parties poses the same secret plaintext without exposing it en route.
If in doubt, just add HTTPS :-)
错误的冲突。
md5写的时候就知道意外碰撞的概率了。发生的变化是,现在可以使用技术来减少生成特定哈希所需的工作量。
如果 HTTP 摘要身份验证当前足以满足您的目的,则继续使用它;摘要身份验证中还存在其他更严重/可利用的漏洞。
维基百科上对此进行了全部描述
Wrong.
The probability of accidental collisions was known when md5 was written. What has changed is that techniques are now available to reduce the amount of effort required to generate a specific hash.
If HTTP digest auth is currently adequate for your purposes then continue to use it; there are other far more serious / exploitable vulnerabilities in digest authentication.
This is all described on Wikipedia