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

  Optimal timing for the construction of new refineries

A major oil company is considering the optimal timing for the construction of new refineries. From past experience, each doubling of the size of a refinery at a single location results in an increase in the construction costs of about 68 percent. Fur..

  What are behavioral genetics

Explain why you think knowledge of Neuroscience and Behavior is necessary in the study of psychology. What are Behavioral Genetics?

  Be sure to offer a clear heading that summarizes the task

write an instructional guide of 1-2 pages that explains how to set up a festival booth. be sure to offer a clear

  Louisiana workforce commission

Using a search engine, locate the United States Department of Labor website. Research information on unemployment compensation specifically related to LOUISANA.

  8 eager students are in line to take their seats in the

8 eager students are in line to take their seats in the first row which has exactly 8 chairs. the student decides that

  quantitative versus qualitative evaluation systems

When evaluating retail employees, some stores use a quantitative approach that relies on checklists and numerical scores similar to the form in Exhibit 16-5. Other stores use a more qualitative approach, whereby less time is spent checking and adding..

  Question 1list down dissimilar activities which logistics

question 1list down dissimilar activities which logistics normally includes and briefly explain 5 of them. question

  Ptolemaic model of the universe

According to the Ptolemaic (Greek) model of the universe, how many "heavenly" bodies could be observed wandering along the background of stars?

  Status of afro-latin american or afro-latino communities

Proposal for strategies/initiatives to improve the status of Afro-Latin American or Afro-Latino communities in one of the areas listed below. The strategies/initiatives that you propose may be spearheaded by the government, Afro-Latin Americans/Afro-..

  Standard deviation of a test score

Describe how the standard deviation of a test score affects the interpretation of test scores.

  Seeing is personal to the one who sees

I was asked this question by my anthropology teacher "seeing is personal to the one who sees, and non-communicative (why)? This question refers to Don Juan and Castaneda's books but I could not find an exact answer.

  Characteristic of the baroque style

Describe a specific aspect of a painting by Caravaggio that demonstrates a characteristic of the Baroque style. Identify which of the three music selections by Gabrieli, Monteverdi, or Vivaldi you like the most (or least) and explain why.

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