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

  Use of service-oriented architecture

Giving reasons for your answer, suggest two types of applications where you would not recommend the use of service-oriented architecture and why.

  Differentiate notions of drawing erd

Research some available notions of drawing ERD. Create a short but precise comparison among four notions. Choose any real world case like the enrollment system; create the ERD of selected case

  Study guide - ip address

Discuss when a person types in a domain name such as IBN . COM, how is this recognized by the computer as an IP address and explain ow are IP addresses used?

  Preparing a short video clip

Create a short video clip on some topic from your chosen multimedia assignment. Do the same for a short 3D animation using Blender on a different topic.

  Build an entity relationship diagram for hospital

Build an Entity Relationship Diagram(ERD) for the following hospital scenario. For your Patient entity show its attributes . Highlight the key attribute in red.

  Process of formal software testing

Discuss and explain software testing as a career path, and consider what skills would be desirable for a software tester.

  Identify the principal for viewpoint hierarchy diagram

Identify the principal viewpoints which might be taken into account in the specification of this system and organize these using a viewpoint hierarchy diagram.

  Draw an ie crow-s foot e-r diagram for entities

Draw an IE Crow's Foot E-R diagram for the entities DEPARTMENT and EMPLOYEE and the 1:N relationship between them. Assume that a DEPARTMENT.

  Muscles health club database requirements

Read the given business needs closely to determine the entities and relationships required to fulfill the requirements. The nouns in the paragraph will tell you the entities that will be required.

  Describe relationship between different types of software

Describe the relationship between different types of software and the type of machine with which they are compatible.

  Produce set of crc cards-uml diagram-javadoc comments

Produce a set of CRC cards, a UML diagram, and a set of javadoc comments (detailed JavaDoc only for each method created, no coding required).

  Explain understanding plan-do-check-act process flow

The project where risk and quality processes make obsolete portions of project plan, how is plan maintained (updates, corrections)? What is context for understanding plan-do-check-act process flow?

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