r/ProgrammerHumor • • Oct 23 '26

Meme privateKey

Post image
26k Upvotes

241 comments sorted by

View all comments

Show parent comment

4

u/1nd3x Oct 23 '26

It's beyond dumb and likely just test keys that accidentally got used.

"Everybody knows everyone uses keys that are 116 digits long...nobody would bother to try and brute force check our keys starting from the number 1...they'd obviously start at the number 1x10¹¹⁵, so it's extra safe to use low numbers that everyone is just going to skip over"

1

u/Worried_Onion4208 Oct 25 '26

Well, it doesn't matter when the keys start in a brute force attack, and reducing the range by starting higher actually reduces the effort, it doesn't increase it.

1

u/1nd3x Oct 25 '26

Well, it doesn't matter when the keys start in a brute force attack,

The key is a key, it doesnt start anywhere, it's fixed.

and reducing the range by starting higher actually reduces the effort, it doesn't increase it.

Yes...that's why people would do it. Which is why I then made a joke about deliberately choosing a key outside of the narrower bounds a hacker might set while trying to brute force it, and implying that in itself is part of the security of it.

Essentially the same as saying "they wouldn't think we were stupid enough to use 'Password' as our password, and that is why we will use it!"