Which of the following PHP functions is commonly used to create a hashed password?

  • encrypt()
  • hash_password()
  • password_hash()
  • create_hashed_password()
The password_hash() function in PHP is commonly used for creating hashed passwords. It incorporates strong encryption algorithms and automatically generates a unique salt for each password, enhancing security.
Add your answer
Loading...

Leave a comment

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