14/12/2019

How do you use bcrypt for hashing passwords in PHP?

use password_hash() to create a bcrypt hash of any password: password_hash('yourPassword', PASSWORD_DEFAULT); use password_hash() to create a bcrypt hash of any password with option: $options = […]