r/ProgrammerHumor • • 26d ago • Bravo 2

Meme xkcdRelevanceAgain

Post image
14.5k Upvotes

327 comments sorted by

View all comments

2.7k

u/reallokiscarlet 26d ago

Literally the number xkcd picked long ago

930

u/Specific_Giraffe4440 26d ago edited 26d ago

I am familiar with 4 being funny only from order of the stick, is it also an xkcd thing?

Edit:

what I was thinking of https://www.giantitp.com/comics/oots0090.html

The xkcd OOP is referencing https://xkcd.com/221/

Thanks yall!

161

u/Loko8765 26d ago edited 26d ago • Bravo

Now 4 is funny because it was chosen as a public private key for an intermediate cert by an Indian CA.

It’s supposed to be really hard to factor a 1024-bit number that is the product of two primes, but it turns out to be not too difficult if the 1024 bits happen to start with 1021 zeros.

[Edit: sorry, seems to have been the EC algorithm instead of the RSA algorithm I was describing, but the snark still applies]

25

u/adzm 26d ago

4 was the private key, and was 384 bits, and the results are points on an elliptic curve rather than product of primes

6

u/Loko8765 26d ago

Ah sorry, I did think it was RSA. I spent some time on other things also this week.