32
submitted 2 months ago by [email protected] to c/[email protected]

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
[-] [email protected] 2 points 2 months ago

It depends on the cryptosystem. The private and public halves of the pair are often not symmetrical and often have overlap.

The parent is likely confused because in most situations the "private key file" will also contain all of the public key. Whether by necessity or for convenience.

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

Security

4852 readers
6 users here now

Confidentiality Integrity Availability

founded 4 years ago
MODERATORS