05 - Summarizing Basic Cryptographic Concepts
05 - Summarizing Basic Cryptographic Concepts
1
CRYPTOGRAPHIC CONCEPTS
• Cryptography
✓ (literally meaning "secret writing") has been around for thousands of years.
✓ It is the art of making information secure by encoding it.
✓ Security through obsecurity means keeping something a secret by hiding it.
✓ This is generally acknowledged to be impossible (or at least, high risk) on any sort of
computer network.
✓ With cryptography, it does not matter if third parties know of the existence of the secret,
because they can never know what it is without obtaining an appropriate credential.
1. Bob generates a key pair and keeps the private key secret.
2. Bob publishes the public key.
3. Alice wants to send Bob a confidential message, so she takes a copy of Bob's
public key.
4. Alice uses Bob's public key to encrypt the message.
5. Alice sends the ciphertext to Bob.
6. Bob receives the message and is able to decrypt it using his private key.
7. If Mallory has been snooping, he can intercept both the message and the public
key.
8. However, Mallory cannot use the public key to decrypt the message, so the
system remains secure.