32
submitted 2 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
[-] Godort@lemm.ee 4 points 2 months ago* (last edited 2 months ago)

This is the video that finally explained it in a way that I totally understood.

TLDW: the actual key exchange works by using massive exponents that are very fast to run to get a result, but very hard to use that result to get the exponent you started with

[-] pivot_root@lemmy.world 5 points 2 months ago

Adding on to your TLDR: There's also asymmetric cryptography based on elliptic curves, so it's not always an exponent of two massive primes.

[-] bloubz@lemmygrad.ml 1 points 2 months ago

Even of isogenies of elliptic curves

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

Security

4838 readers
2 users here now

Confidentiality Integrity Availability

founded 4 years ago
MODERATORS