r/AskComputerScience • • 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

56 comments sorted by

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.

2

u/UncleMeat11 May 21 '25

"Salting makes this unfeasible" is providing the wrong information to people.

-1

u/Leverkaas2516 May 21 '25

It's been such a delight talking to you. You are probably a big hit at parties.

2

u/Samstercraft May 23 '25

the thing people say on reddit when they realize they're wrong