password_hash

password_hash

(PHP 5 >= 5.5.0, PHP 7)

password_hashCreates a password hash

Description

string password_hash ( string $password , integer $algo [, array $options ] )

password_hash() creates a new password hash using a strong one-way hashing algorithm. password_hash() is compatible with crypt(). Therefore, password hashes created by crypt() ca