In 1976 and 1977, researchers published a new idea: two keys that belong together, one public and one private. It solved the key-sharing problem and made secure online shopping possible.
A pair of keys
Bhavesh keeps
Bhavesh publishes
Bhavesh makes a pair of keys that belong together. The private key stays on his device and is never shared. The public key can be given to anyone.
What it solves
Anyone can send you a secret without meeting you first: they use your public key, which you can post openly. A group of 1,000 people needs 1,000 key pairs instead of nearly half a million shared keys. The same idea, used in reverse, makes digital signatures possible (station SIGN).
The cost
Public-key methods are much slower than shared-key ones, often thousands of times slower for the same amount of data. So they are rarely used to encrypt whole files or videos. Instead they are used to set up a shared key, as the next lesson shows.
KEYS-2 counts as completed once you step through the figure to its last step.