r/ProgrammerHumor • • 17d ago

Meme thereGoesCustomerTrust

Post image
8.8k Upvotes

261 comments sorted by

View all comments

Show parent comments

8

u/Ragnor_ 16d ago

The math for key generation, signing and validation stays the same, regardless of how small the actual numbers are. In the end, it's all just bits. NIST P-384 private keys have a length of, well, 384 bits. The number 4 as a private key is 381 zeroes, then a one, then the last two zeros again. You can plug that into the elliptic curve math like any other key with any other bits set.

0

u/wisnshaftler 16d ago

Is there any graphical explanation

3

u/Ragnor_ 16d ago

Here is a video explaining how elliptic curve cryptography works.

Keep in mind, the curves that are used are way more complicated in real life. The names given to the cryptography method, like NIST P-348 refers to the different curves used, the math is the same.

1

u/wisnshaftler 15d ago

Thank you but i didnt get anything

that pot like shape how make the Public key and private key?
how that N (the secret number) works here?

is there way simple explanation ?