Difference between encryption and hashing

前端 未结 6 1889
醉梦人生
醉梦人生 2021-02-20 11:09

In our project there are several places where we could\'ve gotten away with hashing. For example, we store an encrypted reference between a license and the licensed object in t

6条回答
  •  说谎
    说谎 (楼主)
    2021-02-20 11:45

    You've introduced the secrecy of the key as a weak point, I would say it's a risk, though gauging the severity would take more details.

    Hashing, on the other hand, would rely solely on the difficulty of finding collisions, which is probably a more secure scenario than keeping that key secret.

提交回复
热议问题