r/AskComputerScience • u/super_potato_boy • May 20 '25
why does password length affect strength if passwords are salt-hashed?
My understanding is that passwords are hashed into long, unpredictable strings via a one-way hash function. Why does the input length matter?
78
Upvotes
View all comments
Show parent comment
1
u/Leverkaas2516 May 21 '25
What we are talking about is explaining all this to someone who doesn't know. In that way, VirtuteECanoscenza gave a good answer. MrColdboot gave one that can only be regarded as true if one already knows all the things that OP obviously does not know. "It's just guessing what the password might be" is false.