While stroring password i use password_hash() My code is
password_hash('152207', PASSWORD_BCRYPT, array(cost=>12));
But i found salt like thing in PHP too! What should i use password_hash or salt while storing password in database?
While stroring password i use password_hash() My code is
password_hash('152207', PASSWORD_BCRYPT, array(cost=>12));
But i found salt like thing in PHP too! What should i use password_hash or salt while storing password in database?