Program to attack the textbook rsa encryption scheme

Assignment Help Software Engineering
Reference no: EM13240450

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:
92001629535369949668182190680140710002429961412439471184834723194899969898404162
82428855806975402440064473888135838545187330646754494062187654035542047167435016
34608863342073173012508616123265965429721791336874605919036975439595316606713189
21259313523852555003517715050369476348174980850810194157624985747443

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.

Attachment:- Assignment.zip

Reference no: EM13240450

Questions Cloud

Roman philosophy reflected in the modern western worldview : Describe a specific example of life in Ancient Rome that is found in contemporary life in the U.S. Describe one way that you see a particular tenet of Roman philosophy reflected in the modern Western worldview.
Explain what reagents will convert benzene to aniline : What reagents will convert benzene to aniline the most efficiently? Also what reagents will convert toluene to p-aminobenzoic acid
Find the electric field at the center of the triangle : Three point charges -q,-q, and 2q occupy the verices of an equilateral triangleof side a. Find the electric field at the center of the triangle
Tell me what test applied : As i study on childhood disease then my collected sample is 269 and variable include age of child. vaccination status , social condition include type of house ,monthly in come .no of rooms in house ,person living in house , type of waste disposal and..
Program to 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
Identify the member countries of the british commonwealth : Why might young nations like australia and new zealand have been willing to grant women the right to vote before europeans nation did so? Identify the member countries of the British Commonwealth. What was the purpose of the British Commonwealth?
A survey of random sample of people leaving an amusement : A survey of random sample of people leaving an amusement park showed an average expenditure number 10.30k for the evening.
How far does it go before being turned backward : An electron travelling east with velocity 7.0 x10^5 m/s enters the same electric field region as in the previous problem. How far does it go before being turned backward
Explain methyl propanoate as the name of the product : Give a reason why each of the following names are incorrect by the IUPAC system and give a correct IUPAC name. Methyl propanoate as the name of the product of the reaction between ethanol and ethanoic acid.

Reviews

Write a Review

Software Engineering Questions & Answers

  Viruses and malicious software

Viruses and Malicious Software  Web Strategies and Protocols (browsers, cryptographic posture, and server and protocol securities)

  Explain what aspects of project made it successful

What aspects of project made it "successful" in their definition? Would your organization explain this as successful? Explain why or why not?

  Create eer model using visio notation or supertypes notation

Create an EER model for the following situation using the traditional EER notation, Visio notation or supertypes notation.

  Drawing diagram of payroll edi system

Draw diagram of the proposed payroll EDI and EFT system. It is suggested for students to utilize Microsoft Visio to draw the diagram.

  Designing e-r diagram for each product at pvf

Suppose that at PVF, each product. Design E-R diagram for this situation and state minimum and maximum cardinalities on the diagram.

  Programming frameworks besides asp.net

Name three other web programming frameworks besides ASP.NET. Explain the ways that ASP.NET is different than other web programming frameworks.

  Investigate and analyse the effect of applying cmmi practice

ITECH3501- 6501 Principles of Software Engineering:  Investigate and analyse the effect of applying CMMI practices/processes in an Agile environment in terms of business performance improvement and the limitations/restrictions of using both, and writ..

  Counting test scores

Average the test scores, if it lower than fifty then display the average; otherwise display the student's highest score.

  Create an employee class

Create an Employee class that has fields for the given pieces of data, Also create a class named ProductionWorker that extends the Employee class.

  Create pseudocode to compute produce sale

Suppose that all products are priced per pound. As soon as program starts, it should prompt for and get the prices of those products.

  Explain about software life-cycle model

Your customized software development company describe which software life-cycle model you would use. You can use the models as described in the book, or from another source, or, alternatively define your own process.

  How project visualization maps to architectural views

Choose one of the agile software development methodologies/processes and explain how changes can be managed in software development projects. Describe how project visualization maps to architectural views.

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