this post was submitted on 24 Nov 2025
411 points (98.8% liked)

Programmer Humor

27696 readers
1179 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 -2 points 1 week ago (3 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 1 points 1 week ago* (last edited 1 week ago) (2 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 -2 points 1 week ago* (last edited 1 week 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.