Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I\'m interested in encrypting e-mails. My very, very basic understanding is that

ID: 657768 • Letter: I

Question

I'm interested in encrypting e-mails. My very, very basic understanding is that I am to generate a private key, and share my public key with the message recipient (who will share his public key with me). Then, I can encrypt my messages utilizing his public key so that only he will be able to decrypt it.

If my understanding is correct - that's great for 1-to-1 communication. But I would like to encrypt e-mails between a group of users (specifically five users). All five users should be able to encrypt/send an email to all of the other users.

What's the best way to do this?

Explanation / Answer

PGP uses hybrid encryption. That means that the public/private key system is not used to encrypt the whole message. It is only used to encrypt a symmetric key which is used to encrypt the actual message.

When you address a PGP message to multiple recipients, you only encrypt the message once with a newly created symmetric key, and then encrypt that symmetric key multiple times, once for each intended recipient. That way each recipient can decrypt their personal copy of the symmetric key and then use it to decrypt the message.

Your message would grossly oversimplified look like this:

By the way: Hybrid encryption is also used when you send a message to only one recipient. The reasons is that using a different symmetric key for each transmission prevents an eavesdropper from noticing when you write the same message to the same recipient twice. It is also better for performance, because most symmetric encryption algorithms are much faster than most asymmetric ones.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote