an introduction to cryptography. what is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of...

27
An Introduction to Cryptography

Upload: milton-townsend

Post on 02-Jan-2016

236 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

An Introduction to Cryptography

Page 2: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

What is cryptography?

noun \krip-ˈtä-grə-fē\ : the process of writing or reading secret messages or codes

• “Encryption”: to put into a format that is unreadable to unauthorized individuals

• “Cipher”: a method of encryption, or a code

Page 3: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Basics

Page 4: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

History

Page 5: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

History

Page 6: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Substitution Cipher

• Substitute one value for another

Page 7: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Substitution Cipher

Common example:

Cryptograms in newspapers

Page 8: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Substitution Cipher

• Original message: “plaintext”:

• Encrypted message: “ciphertext”

Page 9: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Solve this Substitution Cipher

XKGTJDHI

Page 10: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Solution

SECURITY

Page 11: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Ciphers in Popular Culture“National Treasure” (2004)

Page 12: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Keys

• They are what we use to secure the messages. (And to decrypt them!)

• They are shared

to decrypt the

message.

Page 13: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Keys

• “Asymmetric” cryptography has two keys:– Public key: used to encrypt the message– Private key: used to decrypt the message. (This one

is secret)– Mathematically matched to protect the message

Page 14: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Vigenere Square

• Polyalphabetic cipher

• Column letter: plaintext

• Row Letter: key

Example:

Page 15: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Vigenere Square

Encrypt this word:

Page 16: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Solution

VDOZF

Page 17: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Ciphers in Popular Culture“A Beautiful Mind” (2001)

Page 18: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Transposition Cipher

Rearranges values within a block to create ciphertext

•Example:– “Caesar Block Cipher”– Uses 5X5 square– Message contains

<25 characters

Famously created by Julius Caesar!

Page 19: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Caesar Block Cipher

Plaintext: LEARN ABOUT ENCRYPTION

Ciphertext: L TROEA YNABEP EONT NUCI

read across

fill d

own

Page 20: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Caesar Block Cipher

• Try writing and encrypting your own message!

• Remember: <25 characters (including spaces) read across

fill d

own

• Pass it to a friend to decrypt

Page 21: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Advanced Cryptography

• Using the types of techniques we learned, computers can encrypt files, emails, etc.– Makes communication secure– But we still need to protect our keys and

passwords!

Page 22: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Advanced Cryptography

Technology Example

Page 23: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Real World Application

• Cryptanalysts: study information systems to find hidden aspects

• It’s their job to decrypt messages

Page 24: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Why does this matter to you?

• When you put your personal information on the internet, make it hard for thieves to steal

Check your passwords: http://www.passwordmeter.com/

Page 25: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Create a strong password

• Start with a weak password:Linda!Marie1207

• Come up with a secret key (4-6 characters)

puppy

• Encrypt text using the vigenere square:Accsy!Bugxc1207

Strong Password

Page 26: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Jeopardy!

What four aspects should your

password include?

In what profession do people break

codes?

Where does Gabe work?

What is an encrypted

message called?

What cipher replaces one letter

with another?

What type of cryptography uses public and private

keys?

Who encoded messages on clay

tablets?

What is an unencrypted

message called?

What machine was used to encrypt

messages in World War II?

Page 27: An Introduction to Cryptography. What is cryptography? noun \krip- ˈ tä-grə-fē\ : the process of writing or reading secret messages or codes “Encryption”:

Questions