Certified Ethical Hacker (CEH) Practice Question

During a security assessment, you obtain the user_password column from a legacy application. Each value is a single-round SHA-1 hex digest with no additional data. To make future data breaches resilient against rainbow-table password cracking, which single change should you recommend to the development team?

  • Encrypt each existing SHA-1 hash with AES-128 in ECB mode using a key hard-coded in the source code.

  • Replace SHA-1 with bcrypt so each password is salted and key-stretched before storage.

  • Re-hash all passwords with unsalted SHA-256 instead of SHA-1.

  • Keep SHA-1 but append a fixed, company-wide pepper string to every password before hashing.

Certified Ethical Hacker (CEH)
Cryptography
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot