welcome to cryptology 1 st semester – room b310. syllabus

17
Welcome to Cryptology 1 st Semester – Room B310

Upload: homer-baker

Post on 17-Jan-2016

230 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Welcome to Cryptology 1 st Semester – Room B310. Syllabus

Welcome to Cryptology

1st Semester – Room B310

Page 2: Welcome to Cryptology 1 st Semester – Room B310. Syllabus

Syllabus

Page 3: Welcome to Cryptology 1 st Semester – Room B310. Syllabus

Cryptology• Is the science (and to some extent the

art) of building and analyzing different encryption-decryption methods.

(Spillman, 2005, p.3)

“Cryptanalysis is the science of discovering weaknesses in existing

methods so that the plaintext can be

recovered without knowledge of the key.”

“Cryptography is the science of building new

more powerful and efficient encryption-

decryption methods.”

Page 4: Welcome to Cryptology 1 st Semester – Room B310. Syllabus
Page 5: Welcome to Cryptology 1 st Semester – Room B310. Syllabus
Page 6: Welcome to Cryptology 1 st Semester – Room B310. Syllabus

Codes and Ciphers• Code – Substitution and no algorithm• Cipher – Uses an algorithm and key

Steganography – method used to hide information which conceal the existence of the ciphertext.

Page 7: Welcome to Cryptology 1 st Semester – Room B310. Syllabus

Example of Steganography

http://www.garykessler.net/library/fsc_stego.html

Page 8: Welcome to Cryptology 1 st Semester – Room B310. Syllabus

Cipher Evaluation• First General Principle of Cryptography• “The eavesdropper has knowledge of

the underlying algorithm used to encrypt data.”

(Spillman, 2005, p.4)

Page 9: Welcome to Cryptology 1 st Semester – Room B310. Syllabus

Kerckhoffs’ 6 fundamentals to any cryptographic algorithm

• The system should be unbreakable in practice if not theoretically unbreakable.

• Compromise of the system should not inconvenience the correspondents.

• The key should be easy to remember without notes and should be easy to change.

• The cryptograms should be transmissible by telegraphy.

• The apparatus or documents should be portable and operable by a single person.

• The system should be easy, neither requiring knowledge of a long list of rules nor involving mental strain.

(Spillman, 2005, p.4)

Page 10: Welcome to Cryptology 1 st Semester – Room B310. Syllabus

Economics• Ciphers do not have to be

“unbreakable” to be secure.• If (value of information) < (cost of

breaking the cipher) then it is secure.• If (time to break) > (lifetime of

information) then it is secure.

Page 11: Welcome to Cryptology 1 st Semester – Room B310. Syllabus

Cryptanalysis• Ethics• 3 methods of attack

– Ciphertext-only– Known-plaintext– Chosen-plaintext

Page 12: Welcome to Cryptology 1 st Semester – Room B310. Syllabus

Brief history of codes and ciphers• The Codebreaker, by David Kahn• Ancient Egyptian tombs• Hebrews• Greeks• Spartans• Arabs• Europe (post Dark Ages)

– Black Chambers– English Decyphering Branch

• MI-8• Bletchley Park• NSA

Page 13: Welcome to Cryptology 1 st Semester – Room B310. Syllabus

Skytale• tkdrhybmityisatlalhaneetetsaxhpraiaym

srmpwtelaasesnsousafsfgseoe.• This an example of skytale. This was

used by the Spartans for milatary message.

Page 14: Welcome to Cryptology 1 st Semester – Room B310. Syllabus

Classical and Contemporary Ciphers

Page 15: Welcome to Cryptology 1 st Semester – Room B310. Syllabus

Caesar Cipher• Shift letters by 3 positions

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

D E F G H I J K L M N O P Q R S T U V W X Y Z A B C

Plaintext

Ciphertext

Page 16: Welcome to Cryptology 1 st Semester – Room B310. Syllabus

Cryptology• Languages• Mathematics• Physics• Computer Science

Page 17: Welcome to Cryptology 1 st Semester – Room B310. Syllabus

Questions• What is the difference between a code

and a cipher? Why are codes rarely used today?

• Bob and Alice decide that because Eve can break a simple shift cipher they will use it twice—that is, they will create ciphertext by shifting every letter by 3. Then they will encipher the first ciphertext using a shift cipher with a key of 5. Is this a good idea? Why or why not?