Log in security with password_hash and password_verify

Available since PHP 5.5 password_hash is a really simple and strong way to encrypt passwords.
This is a one way encryption which means you cannot discover the original password relying on the encrypted hash.

Usage:

Leave a Reply

Your email address will not be published. Required fields are marked *