π΄ Flashcard Mode
Application Security Fundamentals
Card1 / 20
Mastered0
Review0
QuestionClick to flip
How can we prevent dictionary attacks on password hashes ?
AnswerClick to flip back
A
Salting the hash
π‘ Explanation:
Salting (adding random data before hashing) prevents dictionary and rainbow table attacks by ensuring identical passwords produce different hashes. Hashing twice (A) adds negligible security. Private key encryption (B) isn't applicable to password storage. Custom encryption (C) violates Kerckhoffs's principle and is rarely secure.