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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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