Implementing Password_Hash on Login
Keywords:
cryptography, encryptionAbstract
The password_hash() function can create a
password hash providing security. Passwords are a critical
part of information and network security. Passwords serve
to protect user accounts but a poorly chosen password, if
compromised, could put the entire network at risk. The
password_hash() function can create a new password hash
using a strong one-way hashing algorithm. The
password_hash() function is compatible with crypt()
function, therefore, password hashes created by crypt()
function can be used with password_hash() function. And
the encrypted password is decrypt using password_verify
but here I could not using password_verify Password_hash
Syntax: $pass = password_hash($password,
PASSWORD_DEFAULT);