Why use encryption for emails if you have to share the public key?

1.03K viewsOtherTechnology

Why would you use something like PGP if you have to send your encryption key unencrypted to the party you are sending to? And if you leave this key out on something like Twitter for example, couldn’t law enforcement or a third party if they gained access to the other persons email still read the contents of the encrypted email by using this key? Doesn’t this defeate the purpose of using encryption?

In: Technology

33 Answers

Anonymous 0 Comments

The public key is like a lock. Imagine you have a bunch of them.

You want to send a small box to someone and don‘t want other people to open it. You lock it with one of the locks (equal to encrypt it with the public key). Now only the owner who has the key to said lock can open the box again (that would be the private key that isnt shared). Even you yourself who locked the box cant unlock it again and so cant anybody else. By itself the lock is worthless and you could give some of the locks to random strangers, but all they could do is lock some boxes.

The owner of the private key gets the box and can unlock it. He can see the content of the box that you locked. Now he wants to send you something back.

As it happens he also has a bunch of locks paying around. And only you have the key for it. So now he can put something in the box, lock it (equal again to encrypt it with a public key) and send it over to you. If it gets intercepted nobody can open it, only you who has the key to the lock can open it (using your private key to decrypt).

This way you both can communicate encrypted and even if a public key gets shared, its worthless. Infact its used so multiple people can send you encrypted messages and all you have to do is give out one and the same public key (equal to you sending out multiple locks to different people, all locks can be opened by the same key)

You are viewing 1 out of 33 answers, click here to view all answers.