3 ms·
The salt is public. If you have the password table, you have the salt. The attacker doesn't have to guess the salt with an incremental password cracker (read: a
by thomasptacek 19y ago
The salt is public. If you have the password table, you have the salt. The attacker doesn't have to guess the salt with an incremental password cracker (read: almost any password cracker).
The mistake you're making is your misuse of the word "key". Larger keys are more secure. A salt is a nonce, not a key.
Can I say again that people shouldn't be rolling their own password scheme? This is a problem that has been well-addressed for decades, but the majority of new applications still ship with code that is inferior to public domain code from 1976.
- deleted 19y ago[deleted]
- thomasptacek 19y agoYour hash function needs to be slow, so that incremental cracking is infeasable. This is much more important than the length of your salt. No offense, but you should read the articles you comment on.
- deleted 19y ago[deleted]
- thomasptacek 19y agoSeriously, all three of the articles you're implicitly commenting on answer this question directly.
- deleted 19y ago[deleted]