Q. Which PHP function hashes passwords securely?

  • (A) md5()
  • (B) sha1()
  • (C) password_hash()
  • (D) crypt_simple()
πŸ’¬ Discuss
βœ… Correct Answer: (C) password_hash()
Explanation: password_hash() uses strong algorithms like bcrypt/argon2.
Explanation by: Mr. Dubey
password_hash() uses strong algorithms like bcrypt/argon2.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
86
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate