Question

In: Computer Science

The Vigenère Cipher is an encryption algorithm that combines the use of a keyword with the...

The Vigenère Cipher is an encryption algorithm that combines the use of a keyword with the message to be encrypted. A tableau is provided that shows an encrypted character for each combination of characters in the message and the keyword.

Using the Vigenère Tableau encryption scheme with a keyword of KEYWORD, encrypt the following message:

IS INFORMATION SECURITY ESSENTIAL

After encrypting the message, decrypt the following message, using KEYWORD as the keyword:

YRJUW WWRIG JTFUW ERECE LCMKL CIWKR R

For both the encryption and decryption, show your work in a Microsoft Word document to substantiate the result. For this, create two different tables. The first table will have 3 rows and 30 columns. Each column will correspond to an individual character. The first row will correspond to the keyword characters. The second row will correspond to the message to be encrypted. The third row will correspond to the encrypted message.

The second table will have 3 rows and 31 columns. Each column will correspond to an individual character. The first row will correspond to the keyword characters. The second row will correspond to the message to be decrypted. The third row will correspond to the decrypted message.

Solutions

Expert Solution

Encryption
Here we use the following table to encrypt the message

Now we have Plain text IS INFORMATION SECURITY ESSENTIAL
And keyword : KEYWORD
Now first we genrate the key


For generating key, the given keyword is repeated in a circular manner until it matches the length of the plain text.
The keyword "KEYWORD" generates the key KE YWORDKEYWOR DKEYWORD KEYWORDKE

The first letter of the plaintext, I is paired with K, the first letter of the key. So use row I and column K of the Vigenère square, namely .S

Then second latter of the plaintext S, is paired with E, the second latter of the key . So use row S and column E of the Vigenere Square, namely. W

Then Third latter of the plaintext I, is paired with Y, the Third latter of the key . So use row I and column Yof the Vigenere Square, namely. G

The rest of the plaintext is enciphered in a similar fashion.
Plain text: IS INFORMATION SECURITY ESSENTIAL  
Keyword : KE YWORDKEYWOR DKEYWORD KEYWORDKE


The first row will correspond to the keyword characters. The second row will correspond to the message to be encrypted. The third row will correspond to the encrypted message.

Decryption

Decryption is performed by going to the row in the table corresponding to the key, finding the position of the ciphertext letter in this row, and then using the column’s label as the plaintext.

Cipher text is: YRJUW WWRIG JTFUW ERECE LCMKL CIWKR R
Keyword : KEYWO DKEYW RDKEY ORDKE WORDK YWORD E


now first letter of the key K as row and look for the first cipher text letter Y and takes Y's column value we get O as plain text
now take secont latter Of the keyword E and look for the second cipher text letter R and takes R' column value we get N as palin text


The rest of the ciphertext decipher in similar fasion

The first row will correspond to the keyword characters. The second row will correspond to the message to be decrypted and thid row correspond to plain text.

If you have any query regarding the answer please ask me in the comment i am here for help you. Please do not direct thumbs down just ask if you have any query. And if you like my work then please appreciates with up vote. Thank You.



Related Solutions

The mathematical expression of the encryption and decryption process of a Caesar cipher algorithm is expressed...
The mathematical expression of the encryption and decryption process of a Caesar cipher algorithm is expressed respectively as: c=Ep, k=p+k%26                                                                                                                         (1) p=Dc,k=c-k%26                                                                                                                         (2) Please do the following: Write at least two paragraphs to explain the principle of operation of the algorithm. For a full credit, your explanation must show the architectural diagram of the encryption and decryption process. Write a program to implement the Caesar algorithm Code must have two functions; encryption and decryption Test your codes with p as...
!) Vigenere cipher Encode the text manybooksoninformationsecurity using the Vigenere cipher with the keyword fun
!) Vigenere cipher Encode the text manybooksoninformationsecurity using the Vigenere cipher with the keyword fun
(a) Use Vigenere cipher to encrypt the message “United States Constitution” using the keyword      “covid” Given...
(a) Use Vigenere cipher to encrypt the message “United States Constitution” using the keyword      “covid” Given that the Vigenere cipher of part (a) with the same keyword was used to produce the ciphertext: VFPUSVSNBVRCNQW Find the plaintext message.        
If a Vigenere cipher uses the keyword CATS, what is the key used and what is...
If a Vigenere cipher uses the keyword CATS, what is the key used and what is the ciphertext that corresponds to the plaintext CATSCANS
Using playfair cipher, encrypt the plaintext “SUCCESS” using the keyword “MIDTERMEXAM”
Using playfair cipher, encrypt the plaintext “SUCCESS” using the keyword “MIDTERMEXAM”
Using playfair cipher, decrypt the ciphertext “GKSKHALTYZ” using the keyword “UNIVERSITY”
Using playfair cipher, decrypt the ciphertext “GKSKHALTYZ” using the keyword “UNIVERSITY”
write a Java method that decrypts a keyword columnar transposition cipher with a given key
write a Java method that decrypts a keyword columnar transposition cipher with a given key
1 Introduction A cipher is an algorithm which encrypts a message into cipher text so that...
1 Introduction A cipher is an algorithm which encrypts a message into cipher text so that it can be safely transmitted without an eavesdropper being able to (easily) read it. For the purposes of this assignment the message and ciphertext will be stored as strings of ASCII characters. Cipher algorithms always perform two tasks: encryption and decryption. The encryption process takes a “message” and “key” as inputs and produces cipher text. The decryption process performs the reverse: it turns cipher...
In C++, write a program to implement the Caesar Cipher for both encryption and decryption. The...
In C++, write a program to implement the Caesar Cipher for both encryption and decryption. The program should be able to handle different keys by deciding the key at run time. Thank you :)
In cryptography, Caesar cipher is one of the simplest encryption techniques. The key idea of this...
In cryptography, Caesar cipher is one of the simplest encryption techniques. The key idea of this method is to replace each plaintext letter with one fixed number of places down the alphabet. Below is an example with a shift of three: Plain: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz Cipher: DEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABC To cipher a string, ‘A’ is replaced by ‘D’, ‘B’ is substituted by ‘E’, and so on. To decode a string, ‘A’ is replaced by ‘x’, etc. By using python with vs code: Write a...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT