How can I make MD5 more secure? Or is it really necessary?
问题 I'm storing username and password in a MySQL database and have them hashed using MD5. However, I'm only using the standard PHP function without any modification. Now, I read that MD5 is broken. How are you doing it? Do you run it several times through a different hash mechanism or add some form of salt? 回答1: I'm amazed how people jump on the bandwagon of "damn, it's broken, I won't use it!", don't do the same mistake. You can't make the MD5 better. Even using SHA-1 is vulnerable to same type