What is md5() for?

前端 未结 13 1189
無奈伤痛
無奈伤痛 2021-01-31 01:57

I was reading this tutorial for a simple PHP login system.

In the end it recommends that you should encrypt your password using md5().

Though I know this is a be

相关标签:
13条回答
  • 2021-01-31 02:49

    This is my question about the aspects of md5 collision, slightly related to your question:

    Is there any difference between md5 and sha1 in this situation?

    The important part is in the first 3 rows, that is: you must put your salt before the password, if you want to achieve stronger protection, not after.

    0 讨论(0)
提交回复
热议问题