Homework 5 cryptography

docx

School

Wayne State University *

*We aren’t endorsed by this school

Course

1500

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

2

Uploaded by CorporalFang10788

Report
CSC 1500 – Homework 5 (1) For the following, assume these equations, and work out the resulting equations. ( 5 pts. each ) f(x) = x+2 g(x)=3x h(x) = 5x-2 (1.1) f(g(x)) (1.2) g -1 (f -1 (17)) (1.3) h -1 (x) (1.4) f(h(3)) (2) Use the Euclidean Algorithm method to find the GCF and LCM of the follow numbers. DON’T FORGET TO PUT BOTH NUMBERS FOR EACH. (5 pts. each) (2.1) (156,195) (2.2) (116, 348) (4) Determine if the following piece of Hamming Code has an error. If it does, list the error’s location, correct it, then give the decimal number transmitted by the code. ( 20 pts. ) 1110010 (3) Decrypt the following Shift cipher using this decryption f(p) = (p+4)mod 26. ( 10 pts. ) PNEYGU PATP PSEOPO (4) Decrypt the following Vigenere cipher. Your key is ‘taco’. ( 20 pts. ) FIPR MHG GIIFSKS (5) Frequency Crack Cryptography: The following is an encrypted piece of a well-known poem by Edgar Allan Poe. This cryptographic alphabet is not in sequence, meaning its key is not simply a number, but rather a scrambled up alphabet. WEGRQ RQZ NYFZA AZFZNUGNZ QUOTH THE RAVEN NEVERMORE
Using the hint of what the above cryptograph is referring to, and knowing that the following encrypted piece was encrypted with the same alphabet key, see if you can decode this longer message. ( 20 pts. ) RQYR DC AGR BZYB KQDLQ LYA ZRZNAYV VDZ. YAB KDRQ CRNYAIZ YZGAC ZFZA BZYRQ UYP BDZ.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help