Why not use MD5 for password hashing?
问题 I have a friend which is a white hat hacker. He says that md5 is not really that bad and actually is really secure, just if we use it properly. I believe that he is right. As I know, there is 3 ways to break hashes: Using Rainbow tables (Which can be secured against by a long/random salt) Collision (Which can be prevented by multiple salts or hashes - as in example bellow) Generation time (Which is not much important if we use a long enough salt value per each user - AFAIK) I and my friend