





















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






















Cristina Nita-Rotaru
Lecture 2: Shift cipher, substitution cipher.
Cristina Nita-Rotaru } Concepts and principles of cryptography: security services, attacks and mechanisms. " } Classical cryptographic systems: shift cipher, Vigenere and Vernam ciphers, Jefferson wheel cipher and the Enigma machine. " } Block ciphers: DES, Blowfish, RC5, IDEA, AES. " } Stream ciphers: SEAL, RC4." } Public-key encryption: RSA, " ElGamal, Rabin." } Data integrity: hash functions, MD5, SHA1, HMAC." } Digital signatures: RSA, ElGamal, DSA, Schnorr. " } Authentication protocols, data and entity authentication. One time passwords, Lamport's scheme, challenge-response schemes, Kerberos. " 2
4 Cristina Nita-Rotaru
Cristina Nita-Rotaru } Meetings } MWF 12:30-1:20 LWSN 1106 } Make up class: Monday at 6 pm in same room, TU 6 pm in LWSN B 146. We will use the lab for exercises in class. } Professor contact info: } Office: 2142J } Email: crisn@cs } Office hours: by appointment } TA: Denis Ulybyshev } Email: [email protected] } Class webpage } http://homes.cerias.purdue.edu/~crisn/courses/cs355_Fall_2012/ } Use Piazza for questions and postings 5
Cristina Nita-Rotaru
7
Cristina Nita-Rotaru
8
Cristina Nita-Rotaru
10
Cristina Nita-Rotaru
11
Cristina Nita-Rotaru
13
} A substitution cipher } The Key Space: } [0 .. 25] } Encryption given a key K: } each letter in the plaintext P is replaced with the K th letter following corresponding number (shift right) } Decryption given K: } shift left
14 Cristina Nita-Rotaru
16 Cristina Nita-Rotaru
} YES: exhaustive search, key space is small (<= 26 possible keys).
17 Cristina Nita-Rotaru } The key space: all permutations of Σ = {A, B, C, …, Z} } Encryption given a key (permutation) π:
} Decryption given a key π:
19 Cristina Nita-Rotaru
20 Cristina Nita-Rotaru