







































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!








































Written Assignments (~5) 20% Projects (3) 20% Midterm Exam 20% Final Exam 30% Class Participation 10%
Homework must by TYPED. IF IT’S NOT TYPED, WE DO NOT GRADE IT. Homework is due in class at 1:30. If you use extra days you can email it, use PDF format Homework will be returned in class at 1:30. You must work alone on the written homework.
Midterm - proposed date week Oct. 7 - 9 Final – check university web page We will have a review of the material before midterm and final Final covers all the material studied all semester Exam problems are similar with homework and test also what you learn through the programming projects You will receive a practice final
Three programming projects First two you must work alone Last one you must work in pairs More information will come Purpose of the projects is to offer a glimpse of what is means to design and implement secure protocols
QUESTIONS????
Today and next week: simple ciphers, enigma, one-time pad, perfect secrecy (chapter 2 book)
P = CRYPTOGRAPHYISFUN K = 11 C = NCJAVZRCLASJTDQFY C → 2; 2+11 mod 26 = 13 → N R → 17; 17+11 mod 26 = 2 → C … N → 13; 13+11 mod 26 = 24 → Y
Can an attacker find K? YES: exhaustive search, key space is small (<= 26 possible keys). Once K is found, very easy to decrypt
Strength of the General Substitution Cipher Exhaustive search is infeasible key space size is 26! ≈ 4* 26 Dominates the art of secret writing throughout the first millennium A.D. Thought to be unbreakable by many back then
Cryptanalysis of Substitution Ciphers: Frequency Analysis Basic ideas: Each language has certain features: frequency of letters, or of groups of two or more letters. Substitution ciphers preserve the language features. Substitution ciphers are vulnerable to frequency analysis attacks.
Vowels, which constitute 40 % of plaintext, are often separated by consonants. Letter A is often found in the beginning of a word or second from last. Letter I is often third from the end of a word. Letter Q is followed only by U And more … Other Frequency Features of English
The number of different ciphertext characters or combinations are counted to determine the frequency of usage. The cipher text is examined for patterns, repeated series, and common combinations. Replace ciphertext characters with possible plaintext equivalents using known language characteristics.