1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
miskamm [114]
3 years ago
12

Suppose Alice uses the RSA system with a very large modulus n for which the factorization cannot be found in a reasonable amount

of time. Suppose Bob sends Alice a message by representing each letter by its ascii value (A->65,B->66, ...) and then encypting each number separately using RSA with the large modulus and some large key e. Is this method secure? If not, describe an efficient attack.
Computers and Technology
1 answer:
Yuliya22 [10]3 years ago
4 0

Answer:

Encryption method security:-

  • Encryption method representing each alphabetic character as an integer between 0 and 25.
  • Now, apply RSA algorithm for each integer is not an efficient secure encryption method.

Explanation:

  • Let consider alphabetic characters set {A, B... Z} .
  • Each alphabetic character forms a set of message block values M={0,1,2...,25).
  • From encryption method the corresponding cipher text block value C = {0e mod n,1e mod n, 2e mod n,..., 25e mod n}.
  • Then, compute the cipher text with knowledge of Bob's public key;
  • If the public key is generated, then possibility to decrypt the cipher text to plain text.
  • The generated public key is easily calculated by everyone and security is lost.
  • Therefore, the encryption method is not secure.

Encryption method is not secure, Most efficient attack against this method:-

  • Now, compute the encryption message with the function Me mod n for all the possible values of M.
  • This is the most efficient attack against the scheme in encryption method.
  • Then, create a look-up table with cipher text as an index to the corresponding plain text as a value for appropriate location in the table.
You might be interested in
Best free vpn to bypass geo tagging
Mamont248 [21]

Answer:

Nord VPN

Explanation:

5 0
4 years ago
Create a class in JobApplicant.java that holds data about a job applicant. Include a name, a phone number, and four Boolean fiel
Amanda [17]

Answer:

// Here is JobApplicant.java

public class JobApplicant {   // class name

private String name;   // String type private data member/field to hold name of the applicant

private String phoneNum;  // String type private data member to hold phone number of the applicant

private boolean word;  // boolean private data member to check the word processing skill of applicant

private boolean spreadsheet;  // boolean private data member to check the spreadsheets skill of applicant

private boolean database;  // boolean private data member to check the database skill of applicant

private boolean graphics;  // boolean private data member to check the graphics skill of applicant

public JobApplicant(String name, String phNum, boolean wrd, boolean sprdsht, boolean db, boolean graph){  //parameterized constructor that accepts values for each of the fields

this.name = name;  

this.phoneNum = phNum;  

this.word = wrd;  

this.spreadsheet = sprdsht;

this.database = db;  

this.graphics = graph;  }  

public String getName() {  //accessor get method for name field

return name;  }  

public String getPhoneNum() {   //accessor get method for phoneNum field

return phoneNum;  }  

public boolean getWord() {   //accessor get method for word skill

return word;  }

public boolean getSpreadsheet() {   //accessor method for spreadsheet skill

return spreadsheet;  }

public boolean getDatabase() {   //accessor get method for database skill

return database;  }

public boolean getGraphics() {   //accessor get method for graphics skill

return graphics;   }  }

                     

Explanation:

// Here is the TestJobApplicants.java

public class TestJobApplicants {   // class name

public static void main(String[] args) {  //start of main() function

JobApplicant applicant1 = new JobApplicant("applicant1", "123", true, true, true, false);  //creates object of JobApplicant class named applicant1 and instantiate it by using constructor of JobApplicant. Here the name field is set to applicant1, phoneNum is 123, the skills word, spreadsheet and database is set to true while skill graphics is set to false

JobApplicant applicant2 = new JobApplicant("applicant2", "456", true, true, true, true);  //creates another object i.e. applicant2 of JobApplicant class and passes values of each field of the class to the constructor of class

JobApplicant applicant3 = new JobApplicant("applicant3", "789", true, false, false, true);  //creates another object for other applicant i.e. applicant23 of JobApplicant class and passes values for each field of the class using constructor of class

isQualified(applicant1);  //calls isQualified boolean method by passing object applicant1 to it in order to determine whether applicant is qualified for an interview

isQualified(applicant2);  //calls isQualified method to determine whether applicant2 is qualified for an interview

isQualified(applicant3); }   //calls isQualified method to determine whether applicant3 is qualified for an interview

public static boolean isQualified(JobApplicant applicant) {  //boolean method to determine if applicant is qualified for interview

 int skills = 0;  //initializes the skills count to 0

 boolean isQualified;  //boolean variable whose value determines if applicant is qualified for interview

 final int requireSkills = 3;  //at least 3 skills are required so the maximum value of skills is 3 and this is assigned to requireSkills variable

 if(applicant.getWord())  /*The applicant object is used to call method getWord() which returns the current value of word field (true/false) for the current applicant and if condition checks if applicant has word processing skills. */

  skills++;  //add 1 to the count of skills when above if condition evaluates to true

 if(applicant.getSpreadsheet())  //if applicant has spreadsheet skills

  skills++;  //add 1 to the count of skills

 if(applicant.getDatabase())  //if applicant has database skills

  skills++;  //add 1 to the count of skills

 if(applicant.getGraphics())  //if applicant has graphics skills

  skills++; //add 1 to the count of skills

 if(skills >= requireSkills){  //if the skills count is at least 3 or more

  isQualified = true;  //value of isQualified is set to true when above if condition evaluates to true which means the user is qualified for interview

System.out.println(applicant.getName()+ " is qualified for interview!");}  //displays this message if isQualified is true

 else  //if the value of skills is less than 3

 { isQualified = false;  // isQualified is set to false which means the user is not qualified for interview

System.out.println(applicant.getName()+" is not qualified for interview!");}  //displays this message if isQualified is false

  return isQualified;   }  } //returns the value of isQualified (true/false)

6 0
4 years ago
Choose all the answers that apply.
Paraphin [41]

When coal is burned it releases, 2: Carbon Dioxide.

3 0
4 years ago
According to our definition in this class, computers are define
mario62 [17]

se definen como un medio de estudio en estos momentos de cuarentena

en la que nos ayuda a sentirnos mas cerca de las clases  

5 0
3 years ago
When you reboot your system, the computer follows startup instructions stored in this type of memory?
hram777 [196]
I think the word ur looking for is hard drive memory
3 0
3 years ago
Read 2 more answers
Other questions:
  • Which of the following are important for protecting computing devices and systems? Physical safeguards like a secure space prote
    7·1 answer
  • Which statement is an example of an opinion from an online source?
    14·2 answers
  • Which protocol is the data transmission standard for the Internet, responsible for sending information from one computer to anot
    14·1 answer
  • How to be cool idk who can awnser this but i know the cleetus can
    13·2 answers
  • How does the Evaluate Formula dialog box help fix errors?
    9·2 answers
  • Use the drop-down menus to complete the sentences about the Calendar view Arrange command group.
    6·1 answer
  • Commercials are short media advertising that persuades a consumer to buy/use their product/service?
    13·2 answers
  • The agency that started ARPANET was looking for
    14·1 answer
  • Machine language is the set of binary-coded instructions that are executed directly by a computer. True or false
    12·1 answer
  • 18. which of these components is responsible for providing instructions and processing for a computer? a. cpu b. ssd c. ram d. r
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!