Question

In: Computer Science

Note: It is possible to encrypt/decrypt problems 2-5 using online calculators. For this reason, it is...



Note: It is possible to encrypt/decrypt problems 2-5 using online calculators. For this reason, it is
important that sufficient work is shown in order to demonstrate your understanding of the material.
Answers which simply include the final encrypted/decrypted message but do not include all necessary
steps will be awarded no credit.

1. Find the following Euler Totients using Euler’s Theorem, as explained on p.409 of the
text (10 points each):
a.ϕ(13)
b.ϕ(81)
c.ϕ(100)
d.ϕ(102)


2. Use a Hill Cipher to encode the following message: “BATTLESHIP SUNK.” Use the
following matrix as your key (15 points):
4 6 0
3 2 2
7 1 2


3. Bob is arguing that if you use output feedback (OFB) mode twice in a row to encrypt a
long message, M, using the same key each time, it will be more secure. Explain why Bob
is wrong, no matter what encryption algorithm he is using for block encryption (15
points).


4. Suppose you wish to encrypt the message, M = 42 using RSA encryption. Given a public
key where p = 23 and q = 11 and the relative prime e = 7. Find n, and show all necessary
steps to encrypt your message (42). (Hint: check p.411 of the text for information on
public key RSA) (15 points)


5. Now suppose you receive an encrypted message, C = 287. Given that p = 13 and q =
29 and that e = 5, show all necessary steps to decrypt the message, and then give the
final plaintext decryption of the message. (15 points)

Solutions

Expert Solution

Answer:

1.

2.

3&4&5


Related Solutions

Write a small program to encrypt and decrypt a message using Python library.
Write a small program to encrypt and decrypt a message using Python library.
how to write program in java for encrypt and decrypt input text using DH algorithm
how to write program in java for encrypt and decrypt input text using DH algorithm
Each question should meet 5-6 sentence minimum. 1. Describe listening problems and their possible solutions. 2....
Each question should meet 5-6 sentence minimum. 1. Describe listening problems and their possible solutions. 2. Describe strategies for adapting to differences in the workplace. 3. Describe how to relate to one's manager. 4. Describe skills for managing bullies. 5. Describe the best ways to relate to one's coworkers.
Sample Problems – Floating Point Notation and Using Registers For Problems # 1 – 5 Illustrate...
Sample Problems – Floating Point Notation and Using Registers For Problems # 1 – 5 Illustrate the value using floating point notation setting the precision of the mantissa to four (4). Truncate values as required. - 3,567 26,426 .44444 32.0711 .00003 For problems # 6 -10 solve the equations using binary values in signed integer register ‘R’ of size four (4). Check your work to verify if there is an “overflow error”. 2+3=? 2+(-3)=? 7+5=? -8+(-7)=? -5+(-3)=? For problems #...
Assignment 2 (5 marks) CHAPTER 5 INTERNATIONAL PARITY RELATIONSHIPS AND FORECASTING FOREIGN EXCHANGE RATES PROBLEMS PROBLEMS...
Assignment 2 CHAPTER 5 INTERNATIONAL PARITY RELATIONSHIPS AND FORECASTING FOREIGN EXCHANGE RATES PROBLEMS PROBLEMS 1. Suppose that the treasurer of General Electric has an extra cash reserve of $10,000,000 to invest for six months. The six-month interest rate is 8 percent per annum in the United States and 7 percent per annum in France. Currently, the spot exchange rate is $1.40/€ and the six-month forward exchange rate is $1.44/€. The treasurer of General Electric does not wish to bear any...
Question 2. Write 250 words on the problems of learning online during the COVID 19 pandemic....
Question 2. Write 250 words on the problems of learning online during the COVID 19 pandemic.                     See rubrics at the end to make sure you are scoring well.
When estimating a multivariate model using OLS. Discuss possible problems, such as multicollinearity, heteroscedasticity and simultaneous...
When estimating a multivariate model using OLS. Discuss possible problems, such as multicollinearity, heteroscedasticity and simultaneous equation bias.
1. List all possible samples of n=2 from the following population {1,2,3,5,6,7} (note that there is...
1. List all possible samples of n=2 from the following population {1,2,3,5,6,7} (note that there is no number 4 in the population). Assume that those numbers represent the years of age of six different people. Create a sampling distribution of the 15 different sample means based on each possible pair (e.g., the sample {2,1} represents on possible such pair). Assume further that the order of the numbers does not matter (e.g., the pair {1,2} is the same as the pair...
What are 2 tools you can use to identify possible issues in a QuickBooks Online CompanyTransaction Journal
 What are 2 tools you can use to identify possible issues in a QuickBooks Online CompanyTransaction Journal  a) Import Data b) Account and Settings c) Audit Log d) Journal Entry
1. Identify the steps of the quantitative Analysis approach 2. Identify any threee possible problems in...
1. Identify the steps of the quantitative Analysis approach 2. Identify any threee possible problems in the quantitative analysis approach 3.what is the Transportation Model problem ? 4. Give the names of methods to solve transportation problems 5. Give the names of methods to solve assignment problems ........Today very Important .Thanks
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT