Zend
200-710 · Question #115
When using password_hash() with the PASSWORD_DEFAULT algorithm constant, which of the following is true? (Choose 2)
The correct answer is A. The algorithm that is used for hashing passwords can change when PHP is upgraded. C. The string length of the returned hash can change over time.. See the full explanation below for the reasoning.
Question
When using password_hash() with the PASSWORD_DEFAULT algorithm constant, which of the following is true? (Choose 2)
Options
- AThe algorithm that is used for hashing passwords can change when PHP is upgraded.
- BThe salt option should always be set to a longer value to account for future algorithm requirements.
- CThe string length of the returned hash can change over time.
- DThe hash algorithm that's used will always be compatible with crypt().
How the community answered
(21 responses)- A81% (17)
- B14% (3)
- D5% (1)
Community Discussion
No community discussion yet for this question.