When is it safe to use a broken hash function?

后端 未结 6 2077
太阳男子
太阳男子 2020-12-28 16:38

It is trivial to use a secure hash function like SHA-256, and continuing to use MD5 for security is reckless behavior. However, there are some complexities to hash function

6条回答
  •  长情又很酷
    2020-12-28 17:25

    Most of the worry about using something like MD4 for a password is related less to currently known attacks, than to the fact that once it has been analyzed to the point that collision generation is easy, it is generally presumed to be considerably more likely that somebody will be able to use that knowledge to create a preimage attack -- and when/if that happens, essentially all possible uses of that hash function become vulnerable.

提交回复
热议问题