How Does Encryption Work?

Now remember that picture of the two stick men on page 1? We will be using that as a reference to see how encryption works. Here is the steps in a table:

Encryption

Step 1Step 2Steps 3-4
Step 1: Give your public key to sender.Sender uses your public key to encrypt the plaintextSender gives the ciphertext to you; Use your private key to decrypt the ciphertext
Here are the reasons we need encryption:

Page 1
Page 2
Page 4