How to hash password correctly in PHP? 05-29-2017, 10:10 PM
#1
Hey, I am working on an authentication system, and therefor I find the need to hash the passwords like one should do.
So what I am wondering, how would one go about hashing a password in PHP. I guess there are multiple methods. The tutorial I am using is currently using
Thanks ^.^
So what I am wondering, how would one go about hashing a password in PHP. I guess there are multiple methods. The tutorial I am using is currently using
Code:
password_hash($password, PASSWORD_DEFAULT);
Thanks ^.^