Table Flip Time ๐Ÿ™ƒ

๐Ÿ‡จ๐Ÿ…พ๏ธ๐Ÿ‡ฐ๐Ÿ…ฐ๏ธN๐Ÿ‡ช@lemmy.worldbanned from sitebanned from site to Mildly Infuriating@lemmy.world – 443 points –
91

You are viewing a single comment

Hashing will make every password the same length.

Right but that puts a limit on the hash algorithmโ€™s input length. After a certain length you canโ€™t guarantee a lack of collisions.

Of course the probability stays low, but at a certain point it becomes possible.

Collisions have always been a low concern. If, for arguments sake, I.hate.password. had a collision with another random password like kag63!gskfh-$93+"ja the odds of the collision password being cracked would be virtually non-existent. It's not a statistically probable occurrence to be worried about.

This is plainly false. Hash collisions aren't more likely for longer passwords and there's no guarantee there aren't collisions for inputs smaller than the hash size. The way secure hashing algorithms avoid collisions is by making them astronomically unlikely and that doesn't change for longer inputs.

yup yup. Forgot we were talking about a protected field and not just raw data