Question: Questions for Cryptography: (2 different questions) 1) This problem explores the use of a one-time pad version of the Vigenere cipher. In this scheme, the

Questions for Cryptography: (2 different questions)

1) This problem explores the use of a one-time pad version of the Vigenere cipher. In this scheme, the key is a stream of random numbers between 0 and 25. For example, if the key is 3 19 5 , then the first letter of plaintext is encrypted with a shift of 3 letters, the second with a shift of 19 letters, the third with a shift of 5 letters, and so on.

a. Encrypt the plaintext sendmoremoney with the key stream 9 0 1 7 23 15 21 14 11 11 2 8 9

b. Using the ciphertext produced in part (a), find a key so that the ciphertext decrypts to the plaintext cashnotneeded.

c. Can a brute-force attacker (without the key) decrypt the ciphertext from part (a) in a deterministic manner?

2) There is a standard 52-card deck of cards (e.g., https://en.wikipedia.org/wiki/Standard_52card_deck ). There is a total of 52 cards, e.g., no extra joker cards. In each event, you shuffle the deck of cards randomly, pick a card, and observe the suit and the rank.

a. What is the information entropy value for one event?

b. What is the entropy value for four events?

c. Now suppose the face cards (the jack's, queen's, and king's) are considered the same as 10's. That is, jack's, queen's, and king's are effectively the same as 10's. What is the information entropy for one event?

d. Now suppose you only consider the suit in the card-picking event (i.e., rank gets ignored and does not matter). What is the information entropy for one event? e. You can control and change the rank (but not the suit) of all the cards. How would you modify the deck of cards to minimize the information entropy? What is the resulting information entropy for an event after modifying the cards?

f. You can change both the suit and the rank of the cards. How would you modify the cards to minimize the information entropy? What is the resulting information entropy for an event after modifying the cards?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!