Doruk Ayar Doruk Ayar - 1 year ago 78
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?

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download