When is it safe to use a broken hash function?

后端 未结 6 2022
太阳男子
太阳男子 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:35

    The answer entirely depends on what you're using it for. If you need to prevent somebody producing a collision with a few milliseconds I'd be less worried than if you need to prevent somebody producing a collision within a few decades.

    What problem are you actually trying to solve?

提交回复
热议问题