Attack the textbook rsa encryption scheme

Assignment Help Other Subject
Reference no: EM13516285

Question 1

Write a program to attack the Textbook RSA Encryption Scheme in order to decrypt the encrypted file key_enc.txt which contains the 128 bits AES secret key together with the initialisation vector (IV) for Question 2. You must explain and show how the attack is done. The RSA parameters are as follows:

N:
1138962637897276378307938215512222422011139335076573193725344875540991426121023228370271274859600271357256043587631029100558245044301219258717020849299280196120
04430128052142748893012310578687183850021947167608503022583720901965948811803799200406402065090559755858489087278843248937684896701137338262162804639

e: 65537

The RSA.class will read in the ciphertext stored inside key_enc.txt and decrypt it to the original plaintext. When you run the class file, make sure it is placed in the same directory with the text file.

If you get java.lang.UnsupportedClassVersionError, update your jre and jdk to the latest version. Also, make sure you run the class file with the -Dfile.encoding=UTF-8 parameter.

Question 2

Decrypt the file Q2_encrypted with AES in CBC mode with PKCS5 padding scheme. Explain how to execute the decrypted file.

Assessment Scheme

1. Report
a. Formatting & Grammar
b. Question 1 - (At most will be given, if you don't perform cryptanalysis)
i. Explanation of the attack
ii. Successful decryption 
c. Question 2 
i. Parameters setup
ii. Read ciphertext 
iii. Decrypt file 
2. Make sure your report is original or 10 marks will be deducted regardless your total marks.

Reference no: EM13516285

Questions Cloud

Briefly summarize us oil price in 2014 : Briefly summarize US OIL PRICE in 2014
Find the wavelength of the sound in the direction of motion : The car in the drawing is moving to the left at 35 m/s. The car's horn continuously emits a 2.20 × 102 Hz sound. What is the wavelength of the sound in the direction of motion of the car
What annual rate of interest did you earn : 1. One day as you were going through some old memorabilia, you discovered an old savings account in which you placed $100 twenty years ago. When you checked out the account, it currently had a balance of $320.71. What annual rate of interest d..
What is the winding density of the solenoid : A solenoid of inductance L = 50 mH has a magnetic energy U = 3 x10-4 J with a density u = 0.0042 J/m3. What is the winding density n of the solenoid
Attack the textbook rsa encryption scheme : Write a program to attack the Textbook RSA Encryption Scheme in order to decrypt the encrypted file key_enc.txt which contains the 128 bits AES secret key together with the initialisation vector
Find what is the power needed to accomplish this : A horse draws a sled horizontally across a snow-covered field. The coefficient of friction between the sled and the snow is 0.175, and the mass of the sled, what is the power needed to accomplish this
Calculated all manually with no excel formulation : Calculated all manually with no excel formulation or calculation
Calculate how much work is done by the force : A force given by F(x) = 5x3 (in N/m3) acts on a 1-kg mass moving on a frictionless surface. The mass moves from x = 3.87 m to x = 6.09 m. How much work is done by the force
Estimate how many turns are on the secondary : A transformer changes the 10,000 V power line to 120 V. If the primary coil contains 750 turns, how many turns are on the secondary

Reviews

Write a Review

Other Subject Questions & Answers

  Associated with mental health problems

Acculturation among Latino/a Americans does not appear to be directly associated with mental health problems, but acculturative stress does. What can be done to reduce acculturative stress among Latino/a American families?

  Write a two-pages write up about simultaneous move games

write a two-pages write up about simultaneous move games that applied to a cournot duopoly model write about the price

  Suppose the demand for guitars in state college

Suppose the demand for guitars in State College is given by Qd = 5,680 – 8P where Qd is the quantity demanded, and P is the price of guitars. Also, suppose the supply of guitars is given by Qs = 16P – 2000, where Qs is the quantity supplied of guitar..

  Assess the condition in terms of urgency culture and so

your manager tells you about a new department the company will be adding that is part of the companys strategic plan to

  Explain why each of these groups missed out on good times

Identify the groups that did not share in the general prosperity of Americans during the 1950s. Explain why each of these groups missed out on the “good times.”

  Impormation of legal system

In your opinion how would you modify or improve the present legal system. Why?

  Presentation

The purpose of this assignment is to demonstrate understanding of the public and private third-party payers of health care services. As students prepare for a career in health care, this assignment allows them to review the history of the development..

  Combating international victimization

Discuss the role of the United Nations in combating international victimization.

  Argues girls possess a different moral sensibility

Carol Gilligan argues girls possess a different moral sensibility than boys. In the United States, the family traditionally has been the primary agent for educating children.

  What are subjects of these policies-procedures-standards

Strategic business role of human resource members is guiding the organization through defining and implementing policies and procedures that ensure a safe, equitable, and compliant workplace. Organizations should have a range of policies and procedur..

  Modern economic growth

Did economic output start growing faster than population from the beginning of the human inhabitation of the earth? When did modern economic growth begin? Have all of the world’s nations experienced the same extent of modern economic growth?

  Conversation with socrates

Imagine you are having a conversation with a Socrates. You will debate the question of free will versus determinism.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd