this post was submitted on 11 Apr 2025
223 points (95.9% liked)

Programmer Humor

22540 readers
1623 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
[–] SigmarStern@discuss.tchncs.de 4 points 1 week ago* (last edited 1 week ago)

Yeah, sorry, I meant signing, not encrypting. I know about asymmetrical encryption. That's why I was confused by the original statement. For signing you use your private key so that others can verify your identity by using your public key for checking the signature. For encrypting data you use the public key of the receiver.

~~The original comment used the public key for signing, which is not what you want to do.~~ I now read the explanation.