32
submitted 4 months ago by t0mri@lemmy.ml to c/security@lemmy.ml

There’s a server, a client, and a hacker in a network. For encryption, the client and the server need to share their private keys. Wouldn’t the hacker be able to grab those during their transmission and decrypt further messages as they please?

you are viewing a single comment's thread
view the rest of the comments
[-] RegalPotoo@lemmy.world 1 points 4 months ago

Ok, semantics - for RSA you generate a private key, then derive the public key from that private key, and you could publicly post your private key if you wanted to. "Public" and "private" are just names.

this post was submitted on 28 Apr 2024
32 points (79.6% liked)

Security

4953 readers
12 users here now

Confidentiality Integrity Availability

founded 4 years ago
MODERATORS