Introduction to Cryptography Lecture 4
Caesar Cipher Gaius Julius Caesar (100 B.C.- 44 B.C.) General Politician Dictator of Rome Creator of Caesar Cipher
Caesar Cipher The cipher key: This cipher shift alphabet three letters to the left. ABCDEFGHIJKLMNOPQRSTUVWXYZ DEFGHIJKLMNOPQRSTUVWXYZABC
Shift Cipher Definition: The shift cipher is the cipher which shifts alphabet k letter to the left/right. Caesar cipher is example of shift cipher. Question: Is shift cipher a secure cipher?
ASCII codes for printable characters
Modular Arithmetic & Shift Cipher Assume the message written using capital letters only Then we can represent every letter using ASCII using number 65 – 90 Then apply mod 65 on each number As the result: A become 0, B become 1, …
Modular Arithmetic & Shift Cipher Do the shift of k letters by taking. To get letter representation, do: c + 65, and then use ASCII table. The book gives a nice example of how Excel does it.
Modular Arithmetic & Shift Cipher Example: SKYISCLEAR BTHRBLUNJA
Modular Arithmetic & Shift Cipher For English alphabet shift cipher takes plaintext x as input and gives ciphertext y as output, where.
Homework Read pg Exercises: 9, 11, 14 on pg Those questions will be a part of your collected homework.