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.)多项选择题

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.

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!