In: Computer Science
Let’s say you have the ciphertext for the given plaintext.
Plaintext:
it was disclosed yesterday that several informal but direct contacts have been
made with political representatives of the viet cong in Moscow
Ciphertext:
UZQSOVUOHXMOPVGPOZPEVSGZWSZOPFPESXUDBMETSXAIZVUEPHZHMDZSHZOWSFPAPPDTSVPQUZWYMXUZUHSXEPYEPOPDZSZUFPOMBZWPFUPZHMDJUDTMOHMQ
Can you determine the cipher used? If yes, name the cipher. Explain why.
Can you determine all/part of the key. If yes, give the key or part of the key.
Explain how you deduced it.
Ciphertext:
Plaintext:
Answer: The cipher used here is Monoalphabetic Cipher, and key is 26 letters long and there can be maximum of 25! keys.
**Please Upvote
Explanation:
Monoalphabetic substitution ciphers do not change relative letter frequencies therefore by calculating letter frequencies for ciphertext and comparing counts against known values will give back the Plain text.
The most common letters are P & Z and are equivalent to e and t
The most common Digram are ZW is equivalent to th and hence ZWP is the
Proceeding with trial and error finally get:
Example:
Plain: abcdefghijklmnopqrstuvwxyz
Cipher: DKVQFIBJWPESCXHTMYAUOLRGZN