Start with the situation
In these rounds, the adversary is the person who might read, change, or send a note under someone else’s name. A threat model describes what you want to protect, what that person can do, and what you already trust.
Start with the same original note, MEET AT NOON. If someone can replace both the note and the fingerprint, the two can still match. If a signature verifies with a public key supplied by a stranger, the check only connects the note to that key. The saved fingerprint and the trusted public key give you something to check against.
- Encryption with a secure cipher provides confidentiality, keeping the contents private from someone who can see the ciphertext without the key.
- A fingerprint comparison can reveal a change when you already have a trusted fingerprint of the original.
- A digital signature lets you check that the note was signed with the private key paired with the public key you trust.
A cryptographer designs or chooses protections for a situation. A codebreaker asks what someone can learn from the messages they can see. In Chapter 2, you’ll take both roles with ciphers you can work by hand.
Check your understanding
Your friend sends you a private invitation to a club meeting. A stranger can read notes on the way and send notes in your friend’s name. What could go wrong? Which protection fits each problem, and what do you need to trust?
Show the answer
Keep the invitation private with encryption. In the shared-key example, you and your friend need to keep that key secret. To check that your friend signed the invitation, verify it with a public key you trust belongs to them.