Salting Hashes - why is the salt treated by the literature as being known to Eve?

后端 未结 5 837
轻奢々
轻奢々 2021-01-17 06:11

The title says everything. I don\'t understand: why you shouldn\'t keep your salt a secret like the password. Or did I misunderstand something?

5条回答
  •  感情败类
    2021-01-17 07:01

    The purpose of salt is making an attack on several crypted passwords at the same time harder. It doesn't make an attack on a single crypted password harder.

    With a salt, an attacker has to test each candidate plaintext password once for every different salt.

提交回复
热议问题