Adamhumbug Posted September 4, 2023 Share Posted September 4, 2023 Hi All, I have a user table where people will be creating a password. There is so much out there on what is the best way to do this but i wanted to get your feelings on what is the most up to date way to hash passwords that i am going to store. Is it salt or is that out dated now? Quote Link to comment Share on other sites More sharing options...
Solution Barand Posted September 4, 2023 Solution Share Posted September 4, 2023 password_hash() and password_verify() 1 1 Quote Link to comment Share on other sites More sharing options...
webdeveloper123 Posted September 5, 2023 Share Posted September 5, 2023 I'm pretty sure that Salt is an extra layer of protection for password_hash, not a method in it self Quote Link to comment Share on other sites More sharing options...
requinix Posted September 5, 2023 Share Posted September 5, 2023 3 hours ago, webdeveloper123 said: I'm pretty sure that Salt is an extra layer of protection for password_hash, not a method in it self No, password_hash handles all the work for you. Including salting. Don't do anything extra. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.