Donate SIGN UP

Decrypting Vigenere Cipher

Avatar Image
CleoZ | 18:49 Sun 15th Nov 2020 | Technology
21 Answers
I have a question from my coursework I am stuck on.

Two 10 letter words w1 and w2 were chosen from the list at https://www.bestwordlist.com/10letterwords.htm and encrypted using a keyword k a random string of 10 characters. Two ciphertexts are produced c1: NXPRKTZPM and c2:ZQTRRYVNPM. The same keyword k is used for both encryptions. Find the two plaintexts wi an w2 and the original key k.


I have tried to figure it out but got stuck. There must be an easier way than going through every single 10 letter word.

Please Help

The coursework is due in on Tuesday 17th
Gravatar

Answers

21 to 21 of 21rss feed

First Previous 1 2

Best Answer

No best answer has yet been selected by CleoZ. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
Hi Outzam,

It would help if we had some more background about the coursework that this question forms part of. Are you expected to decrypt the two encoded words manually or to write a program to do it? If you have to do this by hand I can’t think of an easy way of doing it. I have provided design notes for one possible solution above. I can’t see how posting the plaintext and keyword would help - I can’t imagine you would be awarded many marks for simply giving the answer without explaining how you arrived at it. And if I just tell you the answer you will have learned nothing.

Normally, solving a Vigenère (polyalphabetic) cipher by hand would require a longer encrypted message than 2 x 10 characters. You could then use frequency analysis and also look for recurring patterns in the ciphertext to determine the length of the keyword. The fact that you’ve been given two encrypted words and the length of the keyword would suggest that you are expected to solve this programmatically. My brute force approach looks for two words in the word list where each letter in the second word is the following number of letters further in the alphabet than the first word:
1: 12
2: 19
3: 4
4: 0
5: 7
6: 5
7: 11
8: 14
9: 0
10: 0

If you write some code that does this you will find the solution. There is only one pair of words in the word list that matches the above pattern.

21 to 21 of 21rss feed

First Previous 1 2

Do you know the answer?

Decrypting Vigenere Cipher

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.