hash a password php

Solutions on MaxInterview for hash a password php by the best coders in the world

showing results for - "hash a password php"
Amity
25 May 2018
1// To hash the password, use
2password_hash("MySuperSafePassword!", PASSWORD_DEFAULT)
3  
4// To compare hash with plain text, use
5password_verify("MySuperSafePassword!", $hashed_password)