The PHP function ________ can be used to verify if a given password matches a hashed password.
- password_verify()
- hash_compare()
- verify_password()
- compare_passwords()
The password_verify() function is specifically designed for verifying a password against its hashed value, enhancing security in user authentication processes. This is a key concept in web security.
Loading...
Related Quiz
- In PHP OOP, you can call a static method using the class name followed by the scope resolution operator (::) and the method name like ClassName::MethodName().
- Which SQL statement is used to undo any changes made during the current transaction?
- You need to execute a block of code in your PHP script for a known number of times. Why might you choose a for loop over a while loop or a do...while loop?
- The do...while loop in PHP tests the condition ______ executing the block of code.
- You are writing a PHP script and you need to encode an array into a JSON object. How would you do this?