|
|
|
|
|
by brlewis
6843 days ago
|
|
I use a 4-character salt, which is prepended to the user's password before computing the hash. For users that choose a password of only 7 characters, that's only 11 characters hashed. The rainbow table covered a significant chunk of all 14-character strings. Even if I switch to a hash function that runs slower and produces longer values, I still think that 4 characters is too short a salt given the way things are going. If I move to, say, a 16-character salt, after that I'll agree that making it longer is pointless. |
|