Doruk Ayar Doruk Ayar - 5 months ago 51
PHP Question

Why should I not use md5() for passwords?

I want to make a website with a login system.

Which hashing method should I use?

I used to hash my website's passwords with md5() but everyone said I should not use it.

Why not?

How can

get cracked?


Please reference the documentation on Password Hashing for why you should not use md5() and please reference the password_hash() documentation on what you should use.