423
you are viewing a single comment's thread
view the rest of the comments
[-] foudinfo@jlai.lu 22 points 1 year ago

It's actually a really good question. What you're explaining is called a collision, by creating the same hash with different numbers you can succesfully login.

This why some standard hashing function become deprecated and are replaced when someone finds a collision. MD5, which was used a lot to hash passwords or files, is considered insecure because of all the collisions people could find.

this post was submitted on 17 Jul 2023
423 points (88.7% liked)

Programmer Humor

32591 readers
704 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS