0
$\begingroup$

I dont know is this question more like reverse-engineering or cryptographic. Why governments are hunting for encryptions keys? Aren't they delievering by the network the same as the encypted messages? What doing it end-to-end encrypted?

| improve this question | | | | |
$\endgroup$
2
$\begingroup$

Aren't they delievering by the network the same as the encypted messages?

No. At least not in the plain.

What doing it end-to-end encrypted?

Try to search for the key agreement protocol (e. g. Diffie-Hellman ) and asymmetric encryption (e.g. RSA ).

The "asymmetric" encryption allows sending encrypted and signed messages without sharing the private (secret) key.

Very simplistically explained - each actor creates a key pair (with a public and private part) and the actors will exchange their public key. That allows both actors to securely create a shared secret even on an unsecure channel

| improve this answer | | | | |
$\endgroup$
  • $\begingroup$ Absolutely not clear for me. Diffie-Hellman is a method of symmetric encryption (which means that every side should have an decryption key). So transefring it over network/having it built inside a programm is making this not secure at all. About asymmetric - even wikipedia says that its middle man weak - keys can be stolen $\endgroup$ – chill its hvh Mar 30 at 14:48
  • $\begingroup$ @chillitshvh DH is an asymmetric key agreement protocol, both parties have different keys and they can compute a common one. Indeed the DH itself is not enough (that's why RSA is needed as well), and more. I just gave you hints of basic technologies used today for encrypted traffic. From the question it is not clear what protocols do you have in mind, you may try search how TLS works, if you search for a messaging protocol, you may have a look at Signal protocol (more complex, but a complete example) $\endgroup$ – gusto2 Mar 31 at 7:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.