MCQs > IT & Programming > PHP > password_hash() creates a new password hash using a strong one-way hashing algorithm. password_hash() is compatible with crypt(). Therefore, password hashes created by crypt() can be used with password_hash(). In the following sentence: $pass = password_hash('123456', PASSWORD_BCRYPT); echo strlen($pass); how many characters there are in the generated hash? and the hash generated is unique?

PHP MCQs

password_hash() creates a new password hash using a strong one-way hashing algorithm. password_hash() is compatible with crypt(). Therefore, password hashes created by crypt() can be used with password_hash(). In the following sentence: $pass = password_hash('123456', PASSWORD_BCRYPT); echo strlen($pass); how many characters there are in the generated hash? and the hash generated is unique?

Answer

Correct Answer: 60 caracteres and the hash is variable.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it