Homework 3 Solution

Homework 3 Solution - CIS 3360 Security in Computing Spring...

This preview shows pages 1–3. Sign up to view the full content.

CIS 3360 – Security in Computing Spring 2010 Solution for Homework 3 (200 points) NOTE: For all questions, please show your calculations. Homework submitting instructions: (i) Acceptable file formats: .doc, .docx or .pdf file (No scanned document) (ii) The file name should be yourlastname_yourfirstname_HW3 (iii)Include your Full Name and your PID at the top of your document. 1) [10] For the Caesar cipher defined as c = E(p) = (p + 4) mod 26, find the encrypted message for “third homework”. p p+4 p+4 mod 26 encrypted letter t 19 23 23 x h 7 11 11 l i 8 12 12 m r 17 21 21 v d 3 7 7 h h 7 11 11 l o 14 18 18 s m 12 16 16 q e 4 8 8 i w 22 26 0 a o 14 18 18 s r 17 21 21 v k 10 14 14 o The encrypted message is “xlmvh lsqiasvo” 2) [10] For substitution cipher, use the keyword SECURITY to encrypt the message “universal studios”. The plaintext alphabet and ciphertext alphabet are shown below: P 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 C S E C U R I T Y A B D F G H J K L M N O P Q V W X Z The encrypted message is “phaqrmnsf nopuajn”.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
3) [20] Construct the Playfair matrix using the keyword CONSTRUCT and encrypt message “graduation is around the corner”. The Playfair matrix using the key CONSTRUCT is shown below:
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/05/2010 for the course CIS CIS 3360 taught by Professor Guha during the Spring '10 term at University of Central Florida.

Page1 / 5

Homework 3 Solution - CIS 3360 Security in Computing Spring...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online