Asymmetric encryption


Asymmetric encryption attempts to solve a problem with symmetric encryption — both parties must know the same key. With asymmetric encryption, each party derives a public key and a private key. The public key is freely distributed. The private key is kept secret.

Slides from class

Code files for today:

Note: all code examples are based heavily on (or copied exactly from) code originally developed by SEED Labs.