this post was submitted on 24 Nov 2025
357 points (99.2% liked)

Programmer Humor

27490 readers
1557 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Kolanaki@pawb.social -1 points 13 hours ago (1 children)

Length doesn't matter if it's randomly trying every possible combination. It could just as easily guess the longest possible password as the shortest.

Other methods of attack would be a good reason to make it long and nonsensical; not a random brute force attack.

[–] ClassifiedPancake@discuss.tchncs.de 0 points 13 hours ago* (last edited 13 hours ago) (1 children)

With this logic you could say the chance to hit the lottery jackpot is the same as if the numbers are just 3 digits long. It’s not trying all the possible combinations all at once.

[–] Kolanaki@pawb.social -1 points 13 hours ago* (last edited 13 hours ago) (1 children)

If the password was forced to be a specific length and could not be shorter or longer, it would be the same as that. But they're not usually forced to be a specific length. They do have bounds, but that also makes it so there are fewer possible combinations to guess.