r/ProgrammerHumor • • Oct 23 '26

Meme thereGoesCustomerTrust

Post image
8.8k Upvotes

261 comments sorted by

1.5k

u/GabuEx Oct 23 '26

Ten thousand times larger as in 10,000 digits, right?

Right?

291

u/rabbit_wizard Oct 23 '26

That's another meme in the making :)

2.1k

u/Flimsy_Site_1634 Oct 23 '26 • Bravo Popcorn
-----BEGIN RSA PRIVATE KEY-----
Ten thousand times larger
-----END RSA PRIVATE KEY-------

20

u/_ekay_ 29d ago

Haha this gave me a giggle

139

u/Lumierific Oct 23 '26

It’s 40,000 duh. So 5 digits!

…Right?

186

u/dumbasPL Oct 23 '26

The real question is why does the intern have a private key in the first place.

18

u/rabbit_wizard Oct 23 '26

Asking the real questions here

118

u/geek-49 Oct 24 '26

Well it is the lowest rank. You would not expect them to have, say, a sergeant key.

31

u/Squeebee007 Oct 24 '26

We have a Sergeant Road near my house and I never tire of telling people it used to be a Private Road.

233

u/stillalone Oct 23 '26

Ok look, I would like a private key that is easy to remember, and my memory caps at phone number length.  So what's wrong with having a private key that is 867-5309?

145

u/Imperion_GoG Oct 23 '26

If you need a key that's easy to remember, use 01189998819991197253.

→ More replies (5)

25

u/MushroomSaute Oct 23 '26

Two more numbers would make that better. Like mine: 395-51-5608. It's easy to remember because it's my social security number.

23

u/KerPop42 Oct 23 '26

That's why my next round of "random" numbers are either going to be Mersenne primes, so I just need to remember the prime, or the n digits of pi m digits in

11

u/CowboyBoats Oct 23 '26

Not sure if you're serious, but this random list of common passwords puts "8675309" as #259.

→ More replies (4)

3

u/daniu Oct 23 '26

6060 842

1.3k

u/kishaloy Oct 23 '26

Used my 8-digit ddmmyyyy birthday as a key.

Still going strong.

714

u/RotaryJihad Oct 23 '26

Ah! But now you've outed yourself as not American! Hahah we've reduced the attack search space for birthdays! 

200

u/AnVlad99 Oct 23 '26

At least some random American won’t guess it

107

u/PXPL_Haron Oct 23 '26

which means that you are born in the 13th day of the month or higher. you are just lowering entropy at this point

49

u/EdgyAsFuk Oct 23 '26

Actually, by ruling out America they've discouraged hackers and increased security by either being British (gross), Australian (dial-up internet), or Indian (immune to computer based attacks) /jk

→ More replies (1)

67

u/card-board-board Oct 23 '26

Born January 1st, 1970 at 12:04 AM

28

u/ThenaCykez Oct 23 '26

12:00:04 AM, surely. 12:04 AM would be 60 times more secure!

10

u/SnooPies507 Oct 23 '26

That's 240, maybe you wanted to say 12:07 AM.

My password is 01.01.1970 12:20:34 AM

19

u/snakesoup124 Oct 23 '26

The fact that anybody on this sub STILL  consider inferior date formats that do not preserve rank is beyond me. What am I missing?

7

u/kishaloy Oct 23 '26

Just use Timestamp and call it a day. After that there is no ambiguity even if you having coffee enjoying sunset at Mars.

→ More replies (3)

12

u/Dimencia Oct 23 '26

How you print/parse the date format is beyond a programmer's scope, everything that matters can sort by the DateTime itself, not by the string

→ More replies (1)
→ More replies (1)

9

u/jarlscrotus Oct 23 '26

Why wouldn't you use iso8601, it's the objectively correct format

7

u/kishaloy Oct 23 '26

The only objectively correct format is the number of seconds from the Big Bang (the Unix epoch).

All rest are derivatives made for muggles.

→ More replies (3)

4

u/ProfCupcake Oct 23 '26

Exactly; the hackers would never expect it

→ More replies (3)

502

u/Lysol3435 Oct 23 '26

Did you know that if you post your key in a Reddit comment, Reddit automatically censors it? ########. See?/s

651

u/FroggyWinky Oct 23 '26
-----BEGIN RSA PRIVATE KEY-----
MIICWwIBAAKBgHRtQYm4YgjXH+dplA0R8L31l2jSWeABKRBmgpZ5/n1i06OQx9bh
WCfgdH+VIXUjW+NChER8Vs3I1HNGXPgDpuUIYOd85T5cd/Pa/bA7hqG4W4ffWQ2F
Ht6c/uavNMu8v73Q7B0EgavqJ6xP3wSnrXj3a8d3tivegXJOxcWJdn+fAgMBAAEC
gYBZCzKDrSQ1VKqO512W/XCdKBbr0W1xeBG6/FvF0HnF1e69ez6L5n7wyKbw6NLU
7v0Y+8eDRYFyE7YAkAEMomZiXHyPO2hjrUbvs8GKd96TxyeeB2zFKLDKqrbL9xv+
scxDDBydzMU2TDvsUMFh2CWdgEwYxeDF6q2EvHciJieN6QJBAMOGeSFM8/IJTzan
6eI1teOYtc7RLNQ6LDorVmkNbfNWtTpeN9U/S2LY76tf9IN+LVTVp7HDgRmLE7aJ
TE2NGM0CQQCYb9SDBBkW/8Vh1cLJcxobF+9e7lHVargefd4XZofwgge2e4oh41Eu
+8oRCTdT97KcllVKAMO/X2Q/qerskGobAkEAj2eagf0R0oxXZ+vh04K3RBWmCulK
KuH7vDI671PlN5t50jR2WNZScU5RAm2fRa4Oi3EkzHFqx5REwhWTPDHnZQJAXJgp
bUATAX5x5kDTZkzNgcGjPHXlLY76skLgojQ8xOInTzhxqq4LBVAa6QhBHHcsfqNu
wVn/jYKjQWy0b+g1GwJAMsR1qEcMKVcIB6Ex58coThu4bA77Ek4pjQmlM5TNXMKk
qqJyJvi+EeAGR0Xn8zZ4BpvC2CkFJNLk2rvJe4ORUA==
-----END RSA PRIVATE KEY-----

EDIT: OH NO, BAMBOOZLED!

482

u/bhison Oct 23 '26 • Bravo
-----BEGIN RSA PRIVATE KEY----- 
hunter2 
-----END RSA PRIVATE KEY-----

49

u/CeeMX Oct 23 '26

-----BEGIN EC PRIVATE KEY-----
4
-----END EC PRIVATE KEY-----

9

u/N2EEE_ Oct 23 '26

Solid reference. Bravo

195

u/WiglyWorm Oct 23 '26

No no, you can see it because it's your private key. All I see is ########.

119

u/Rostifur Oct 23 '26
   -----BEGIN RSA PRIVATE KEY-----
######################################
######################################
######################################
######################################
######################################
######################################
######################################
######################################
######################################
######################################
    -----END RSA PRIVATE KEY-----

You assholes tricked me
→ More replies (5)

41

u/ActivisionBlizzard Oct 23 '26

What do you mean bamboozled? I just see #####

You can also clone your items by dropping them and pressing alt + f4

18

u/FredTilson Oct 23 '26

Can't find either of those keys on my phone keyboard

→ More replies (5)
→ More replies (2)

41

u/anoldoldman Oct 23 '26

4

Edit: shit!

12

u/NurglesToes Oct 23 '26

Jagex security strikes again

35

u/lerokko Oct 23 '26

hunter2

14

u/skob17 Oct 23 '26

haha mine is safer: hunter4

5

u/rabbitrider3014 Oct 23 '26
########## is my key 🔐

4

u/BeMyBrutus Oct 23 '26
-----BEGIN RSA PRIVATE KEY-----
ROFLcOPeterLolBIgCHUngus
-----END RSA PRIVATE KEY-----

2

u/kinduff Oct 23 '26

dolphin

→ More replies (4)

628

u/Traditional_Log809 Oct 23 '26

A brute-force attack at this size is also called ‘a loop.’

163

u/dumbasPL Oct 23 '26

Isn't that basically every brute force attack against something supposedly perfectly random?

49

u/kai58 Oct 23 '26

If the size is decent you might run into some limitations of the language trying to do it in a single loop, even if not it would never work because it would take way too long.

For a proper one you’d need to distribute the work over multiple instances, otherwise you’d never have enough force behind your brute force attack.

7

u/Aggressive_Talk968 Oct 23 '26

loop against infinity is bruteforce?

10

u/Mediocre_Chart_8624 Oct 23 '26

It is a bruteforce attack. It is just an impossible one

38

u/LoveWooden7643 Oct 23 '26

My password are always ZZZZZZ so they take longer to bruteforce

7

u/WithersChat Oct 23 '26

Wouldn't ZAZAZAZA be one of the hardest passwords to bruteforce if you do it alphabetically but randomly choose between starting from Z and A?

→ More replies (3)
→ More replies (1)

4

u/readitreaddit Oct 23 '26

At that point, it's just a switch-case statement

2

u/git_push_origin_prod Oct 23 '26

Ain’t nothing brute about that force lol. It’s like Presidents Scroobs luggage combination. 12345

→ More replies (2)

59

u/Cronos993 Oct 23 '26

Plot twist: the intern meant in terms of number of bits to store 4

7

u/Lightning_Winter Oct 23 '26

And by that the intern meant the number of bits to store the information necessary to display the character "4"

51

u/maxip89 Oct 23 '26 • Heartwarming
-----BEGIN RSA PRIVATE KEY-----
4
-----END RSA PRIVATE KEY-----

5

u/Ludwig234 Oct 23 '26
-----BEGIN PRIVATE KEY-----
MIG2AgEAMBAGByqGSM49AgEGBSuBBAAiBIGeMIGbAgEBBDAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAShZANiAAQTglHNUqyS
mMHIqtl3Mh3rl+cJvQtMoKylXcitUdz8nRWJoVl+OlEg4e/WMcY+GDXKyuKYaaYu
FjHoooGBq1ZhbcRdkYq8CfOrDmPPeSqk3O1zh743u6VpVJ8cArJw7Wc=
-----END PRIVATE KEY-----

24

u/wisnshaftler Oct 24 '26

Can someone explain this to me

58

u/Ragnor_ Oct 24 '26 edited Oct 24 '26

I'm simplifying a lot here, but if you connect to a website, say google.com, that needs to be resolved to an IP Address. Your PC asks your ISPs DNS server "which IP is google.com". That server says "Idk, but the server for the .com tld is over there".

So then you ask the .com DNS server "who is google.com" and that server says "Idk, but the server for google.com is over there". You then ask the server responsible for google.com for the IP address, and get back something like 80.230.56.122.

Now how do you actually make sure that 80.230.56.122 is actually google.com and not just someone claiming to be Google.com.

That's where Public Key Cryptography comes in. Essentially 80.230.56.122 has to first prove that it's actually Google.com. It does that to trusted certificate authorities (CAs), like Let's encrypt, DigiCert, GlobalSign or Sectigo. You do that by controlling the DNS entry, meaning you own the domain. The CA asks you to put a certain value on your server, say google.com/challenge/16272515/value.txt and if the CA can reach it asking DNS for that value it proves that you control the domain. Then they give google.com a certificate.

A certificate consists of a private and public key pair. The public key is, well, public, and the private key stays on Googles servers. If you sign something with a private key, by knowing the public key you can prove that it has been signed with that private key without knowing the actual private key. That is, Google can prove that they own the certificate. But how do you know that the public key actually belongs to Google, and that certificate is valid?

Well certificates are signed with the CAs private key, proving that the CA actually signed them. This certificate "chain" ends in "root" certificates whose private keys are physically stored behind incredibly secure layers in incredibly secure locations, and whose public keys are distributed with OSes and browsers. Any time you connect to a website, that chain is followed back to a trusted root certificate, proving that you connect to the real website. Each individual certificate in the chain is vouched for by the next one up, until you reach the known, trusted "root".

Recently, the private keys of a CA called eMudhra have been leaked, meaning you could sign fake certificates.

Normally, private keys for something like elliptic curve Cryptography are at least 256bits long, so a number between 0 and 2256. This makes it impossible to guess a corresponding private key.

eMudhras private key was the number "4". They also had 7 other certificates leaked with numbers in the low 100s. Ten thousand times that is still WAY too low of a number for a private key.

4

u/someting_something Oct 24 '26

But shouldn't private keys be prime nbs?

9

u/Ragnor_ Oct 24 '26 edited Oct 24 '26

Not quite. What you're thinking of is part of RSA key generation, and even with RSA the private key itself is not limited to prime numbers. The eMudhra incident involved NIST P-384 elliptic curve cryptography.

The private key having to be prime would substantially limit the amount of valid keys, which defeats their purpose.

→ More replies (7)

4

u/clintCamp Oct 24 '26

The range of possibilities is enormous so trying to hack it by random guessing would take millions of years. Only in the tens of thousands means that if you just started counting up from 0, you could find that you guessed right in a very short amount of time for a computer. Seconds?

→ More replies (2)

3

u/john_internetUser Oct 24 '26

Yeah, and to me too

18

u/Xeppl Oct 23 '26

What the heck did I miss here?

26

u/notAGreatIdeaForName Oct 23 '26

eMudhra (Indian CA) used 4 as a key for intermediate certs

15

u/dirty1809 Oct 23 '26

Not just 4, there were also 7 other keys <256

6

u/Xeppl Oct 23 '26 edited Oct 23 '26

What the

→ More replies (2)
→ More replies (2)
→ More replies (1)

24

u/Maleficent_Memory831 Oct 23 '26

It's so bizarre. At first this story just seems nonsensical. I've been through a key creation "ceremony" before. I even brought a ceremonial knife in case it was needed. The crypto guys smiled and nodded, indicating it was an appropriate item to bring.

There is no way in hell we would have come up with "4" as our key. True, it is random. But it leaves 380 bits unaccounted for! It's not even a prime number! If one even saw the length of the file they could guess it.

My theory here, is that eMudhra outsourced this. The found some guy wandering aimlessly through the halls and stopped him.

"Are you a crypto expert?"

"Oh yes, sir! Absolutely, sir! I am a very good crypt expert!"

"Can you generate a private key for us, it absolutely has to be cryptographically random. Do you have the tools for this."

"Oh yes, sir! Absolutely, sir! I have only the best cryptographically random tools for you sir!"

He then scribbles briefly on a scrap of paper and hands it over...

13

u/UnkarsThug Oct 23 '26 edited Oct 23 '26

Wrong kind of key. It doesn't have to be a prime number.

Also, it's

00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000004

And it is a product of prime numbers (although that isn't necessary in this case), because both 2 and 2 are prime.

Edit: exactly 2 prime numbers.

11

u/_RnB_ Oct 23 '26

both 2 and 2 are prime.

I know 2 is prime, but is 2 prime as well?

4

u/Silpheel Oct 23 '26

It’s even too prime

→ More replies (2)

9

u/PickleSlickRick Oct 23 '26

Of course it is the product of primes, every number that isn't prime is.

→ More replies (9)
→ More replies (1)

2

u/john_the_fetch Oct 23 '26

If it's a crypto knife you unencrypted make sure it spills blood before you encrypt it again - to hydrate it. Otherwise it will turn brittle, chip and shatter.

→ More replies (2)

29

u/Draconis_Firesworn Oct 23 '26

to be fair, what sane brute force attack against a 2048 bit key would start with single digits, seems like a waste of time

33

u/UniversalAdaptor Oct 23 '26

All brute force attacks should start with small numbers. The biggest flaw in all security systems is human laziness.

3

u/unburdened_swallow Oct 23 '26

Except for ones which start with the largest possible number. I would also accept that.

5

u/Maleficent_Memory831 Oct 23 '26

Bah, I would use binary search to figure out the key! It's proven to be optimal!

→ More replies (7)

14

u/-Redstoneboi- Oct 23 '26

it's your only real chance. it's either tiny or normal, and normal would take... a "forget it" amount of time

21

u/Real-Self-3039 Oct 23 '26

I mean tbf its a brute force attack, its meant to try to try every possible value. Doing some random order just makes the job more complex because it needs to then rememebr every combination it has tried

3

u/SinisterCheese Oct 23 '26

I think this would benefit from the weird thing that, you should work from the highest and lowest number. And from the high work downwards, and lowest work upwards. This narrows the options down quickest and you don't need to "remember" what you did.

This is if you just did 1 guess at a time. Practically you could divide the task into many segments, and then do the same between each of them. Like it would still be massive amount of bruforcing, but... like... Computationally you could divide the task into small blocks and spread it out. The longer you do this without a hit, the higher the chance to finding it becomes.

This isn't efficient, I know that, we all know that. Especially since most efficient way to get the key is to manipulate a person to give it to you or grant you access to get it.

→ More replies (6)

10

u/Weak_Shoulder_6780 Oct 23 '26

The sad truth is that there are lots of "IT professionals" out there who will be like "let's make it 4, no one is going to guess that lol"

8

u/XCxBigDong69XCx Oct 23 '26

Cya next thursday when i login to your next site xd

→ More replies (1)

6

u/r3dphoenix Oct 23 '26

Ten thousand digit key: 0000...004

6

u/FitMatch7966 Oct 25 '26

I was a bit confused by this joke. My first thought was that they went from 3 bits to 30,000 bits, which is overkill and the intern doesn't know what they are talking about, but isn't all that far off from 2,048. He just meant 1,000 not 10,000.
Then I thought, oh, maybe 40000, which is still way too small. Then I thought....nothing, I still don't get it.

3

u/jenkaitek 29d ago

I'm with you. No idea what's going on

79

u/SpaceCadet87 Oct 23 '26

Exactly, 10,000 times larger.

40000

120

u/tkb_onions Oct 23 '26

15

u/SpaceCadet87 Oct 23 '26

Fair enough I guess, sorry.

10

u/superxpro12 Oct 23 '26

It's ok we still love you

5

u/Torborough Oct 23 '26

40004

11

u/crazyates88 Oct 23 '26

58008

5

u/BernzSed Oct 23 '26

🙃

5

u/crazyates88 Oct 23 '26

Best use of that emoji I've ever seen

3

u/TenPent Oct 23 '26

That's not how that works.

3

u/Torborough Oct 23 '26

larger = bigger by that amount So it is 40,000 plus the original of 4, for a combined 40,004.

Otherwise, it would be 10,000 times "as large".

Easier to see with smaller values. E.g.:

50% larger -> original + 50%.

50% as large -> original x 0.5

→ More replies (1)

3

u/Science_Logic_Reason Oct 23 '26

That seems excessive.

You had the option to simply pick 8 which is already double the earlier key. Plus - taps forehead - nobody would ever expect it!

3

u/squarabh Oct 27 '26

Let's see Paul Allen's RSA key

2

u/Funkey-Monkey-420 Oct 23 '26

why does the intern know the key anyways? seems like an organizational failure

1

u/Cycloctane Oct 25 '26

65537 is enough for RSA

1

u/mamebb2023 Oct 27 '26

"what did you just say"

1

u/Admirable_Hour5169 Oct 25 '26

"At least ⁠return 4;⁠ was chosen by a fair dice roll."

1

u/Temporary-Concept-81 Oct 23 '26

I just ask chatgpt for the best random number.

-3

u/Kenny1115 Oct 24 '26

The irony of seeing an AI slop meme on this sub of all subs

4

u/rabbit_wizard Oct 24 '26

Can you explain why is this ai slop?

1

u/Kenny1115 Oct 24 '26

It's the AI slop version of the scene from the movie. His eyes are bulging, his hat's missing, and the scenery is very different.

1

u/[deleted] Oct 24 '26

[removed] — view removed comment

2

u/Kenny1115 Oct 24 '26

The template is an AI slop version of the real template. Notice the collar of his shirt is different and there's no TV in the real one.

→ More replies (13)

0

u/[deleted] Oct 23 '26

[deleted] — view deleted comment

769

u/rabbit_wizard Oct 23 '26

Yes totally :) unless it's opposite day

413

u/AdaLovelace17 Oct 23 '26

Yeah, better to choose exactly the middle. Mostly safe until the next middle-out day.

253

u/SUSH_fromheaven Oct 23 '26 • Heartwarming

unless it's binary search day

53

u/ProgrammerCareful764 Oct 23 '26

unfortunately binary search doesn't work in this case

135

u/kblaney Oct 23 '26 • Bravo

CWE-209 - "Failure to authenticate error messages should not contain the phrases 'higher/lower' or 'hot/cold'."

32

u/bilus Oct 23 '26

You know nothing, Jon Snow.

→ More replies (1)

28

u/Bropiphany Oct 23 '26

Middle-out, you say?

→ More replies (1)

7

u/skopij Oct 23 '26

I don't know, man. Everyone knows it's never the private key with maximum allowed value. It's also never the private key with mininum allowed, since anyone with half a brain would guess that the most. Therefore...

12

u/GreenEggsInPam Oct 23 '26

Ah yes, this is what we call a meet in the middle attack

277

u/Amerus1 Oct 23 '26 edited Oct 23 '26 • Popcorn

The password on my phone is literally 2^64

147

u/ALIENIGENA Oct 23 '26

43

u/Yuukiko_ Oct 23 '26

I feel like one would have a hard time reciting 264 after being assaulted with a wrench even if they wanted to

14

u/Amerus1 Oct 23 '26

I was forced to learn it for a dnd campaign 3 years ago and I’ve known it since. Even if I couldn’t say it, it is probably programmed into my muscle memory

23

u/NullOfSpace Oct 23 '26

Of the reasons that one could need to know a large power of 2, a D&D campaign is not on the shortlist.

3

u/jryser Oct 23 '26

Why did you learn it for a dnd campaign? I don’t think there are many doubling effects, so was it a homebrew/setting thing?

→ More replies (1)

6

u/dasonk Oct 23 '26

It's pretty easy. But I'm going to respond in base 2

57

u/liggamadig Oct 23 '26

Ye goode olde rubber-hose cryptanalysis.

[...] the rubber-hose technique of cryptanalysis (in which a rubber hose is applied forcefully and frequently to the soles of the feet until the key to the cryptosystem is discovered, a process that can take a surprisingly short time and is quite computationally inexpensive).

27

u/RealLamaFna Oct 23 '26

"yea im a white hat hacker"

"Oh how do you gain access to systems"

" I beat users on their foot soles with rubber hoses"

6

u/Afraid-Principle-208 Oct 24 '26

Huh, we call it “thermorectal cryptoanalysis” in Russian (the analysis tool is a soldering iron in this case)

3

u/HarshComputing Oct 23 '26

Even more realistic: 'Try hello123' 'oh that worked'

31

u/bilus Oct 23 '26

Think we don't know?

6

u/makeItSoAlready Oct 23 '26

264 -1?

Edit, because 264 as a one based number is 65 bits

1

u/Bored-TM Oct 23 '26

18446744073709551616

22

u/Desperate-Remote-210 Oct 23 '26

So, is it 44444444444444444?

2

u/undeadpickels Oct 23 '26

Soooo smart

1

u/svendburner Oct 23 '26

Is it all zeroes followed by a 4?

1

u/MrDaVernacular Oct 23 '26

That’s right! CPU goes brrr!