Questions
INFO2222 (ND) INFO2222 模拟考试
Multiple choice
Suppose a system stores passwords like this: For each user, a unique salt is randomly generated and stored along with the password hash. Additionally, the system uses a single global secret pepper, not stored in the database, but hardcoded into the backend server. Which of the following statements are correct? (Select all that apply.)
Options
A.Salting makes it impossible for an attacker to guess weak passwords if they have the hash and salt.
B.If an attacker steals the database but not the backend server, they can still easily brute-force the passwords because the salt is public.
C.Salting prevents attackers from using precomputed rainbow tables effectively, even if two users have the same password.
D.Peppering adds extra protection — even if the database is stolen, passwords are harder to crack without server access.
View Explanation
Verified Answer
Please login to view
Step-by-Step Analysis
The question asks us to assess statements about a password storage scheme that uses per-user salts, a global pepper stored in the backend, and a hashed password.
Option 1: 'Salting makes it impossible for an attacker to guess weak passwords if they have the hash and salt.' This overstates the protection. Salting does make it harder to use precomputed attacks and to relate hashes across users, but it does not render guessing weak passwords impossible. A determined attacker can stil......Login to view full explanationLog in for full answers
We've collected over 50,000 authentic exam questions and detailed explanations from around the globe. Log in now and get instant access to the answers!
Similar Questions
When designing a secure system, why is hashing preferred over encryption for storing passwords?
An important technique to mitigate password dictionary attacks is to ___________.
__________ is a technique used to help protect against attacks exposing the contents of the server where password information is stored.
The best way to store passwords is:
More Practical Tools for Students Powered by AI Study Helper
Making Your Study Simpler
Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!