Show how to distinguish the output of BBS

Assignment Help JAVA Programming
Reference no: EM131426589

1. Digital Signature and Programming

Write a java program to solve the following questions. Submit your code along with outputs. Let

e = n = 12801889219865986943874426789172837719929575398179139903346 0102259322494388756606728373121043154809790249663472677206622549 2472049090344014040948783013844255405121563940725271958261549105 6895127372123401970340184655821416714383833567438594837829393436 445708175846840391647287652219983832401360628720836954408208209

be an RSA public modulus. Note the public key e = n.

A. Without factoring n, provide a message m together with its RSA signature σ such that m ends with 2017 in base 10. Show that σ is a valid signature.

B. Without factoring n, check that the exponent

e' = 999858280201913599008802868696830357098395840037288384624455 77041064925905995005216889007572898641811594513334409291762876864 91104489407462355371113514648093

is also valid to verify signed messages. Show at least 5 examples.

2. Pseudorandom

Consider the variation on the Blum Blum Shub generator (mod n = pq)

BBS*(s0){

L:=number of bits in n.

for I to L{

si = s2i-1 mod n

}

Return s1||s2||· · ·  ||sL

}

A. Show how to distinguish the output of BBS* from a truly random source, even without knowing L or n.

B. Suppose your are given the output of BBS*. Show that how could can you use your method to find L, n and s0.

Reference no: EM131426589

Questions Cloud

Green sourcing strategies in logistics design : Describe the role of "green" sourcing strategies in logistics design, and how an organization may be affected by this approach.
How does this affect the overall project duration : A check on the project at week 12 shows that activity F is running two weeks late, that activity J will now take six weeks and that the equipment for B will not arrive until week 18. How does this affect the overall project duration?
Linear regression in forecasting future conditions : Most businesses use some form of linear regression in forecasting future conditions. Give an example of the use of regression analysis at your organization. What were the independent and dependent variables? How accurate were the estimates obtaine..
How should leaders use power to drive ethical behavior : Describe where the sources of power and influence exist in your organization. How should leaders use power and influence to drive ethical behavior? Why is this important?
Show how to distinguish the output of BBS : Consider the variation on the Blum Blum Shub generator (mod n = pq). Show how to distinguish the output of BBS* from a truly random source, even without knowing L or n
What do you know about your clients code of conduct : What do you know about your client's code of conduct? What should be included that you have not already established? What standard policies could be incorporated for UWEAR and PALEDENIM that they can utilize?
What information is needed for successful project management : Project managers often say that their jobs consist of processing huge amounts of information, from supplier contacts through to customer delivery. What information is needed for successful project management?
What is the probability that the block cannot be used : If the block weighs less than 35.5 kg, it cannot be used in certain commercial construction projects. What is the probability that the block cannot be used?
Summarize the results of your psycap self-assessment : Summarize the results of your PsyCap self-assessment. Select TWO of the following motivation theories and compare how these can have an impact (positive or negative) on job performance.

Reviews

len1426589

3/14/2017 3:43:14 AM

Please add a comment to my assignment: MHH140317_FRANK_Homework. "Problem (3) is Java programming problem, Please provide all the code that works properly as the problem (3) asked for, A part and B part. There is no coding needed for problem 4." Please add the above comments.

Write a Review

JAVA Programming Questions & Answers

  Create abstract employee class and two pure virtual function

We are going to create an abstract Employee class and two pure virtual functions calculatePay() and displayEmployee(). The abstract Employee class will prevent a programmer from creating an object based on Employee

  Write a program which randomly chooses an integer

Write a program which randomly chooses an integer from 1 to 100. The program should then tell the user.The program should then ask the user to complete the puzzle such that each row and each column consists of the letters

  Write java application to input three integers from user

Write Java application that inputs three integers from user and displays sum, average, product, smallest, and largest of the numbers.

  Write thejava code for a program

Write theJava code for a program that reads the weight of a piece of luggage and print the proper message, depending on the weight, as per the table below.

  Write an algorithm for fining the middle node

Write an algorithm for fining the middle node of a doubly linked list given both the head and the tail of the list.And Write a  recursive  java function that counts the number of nodes in a circularly linked list.

  Describing the career path of a java developer

Create a 2-3 page report covering the role of Java in industry today compared to C# and Objective-C. Your report should cover: What are the advantages and disadvantages of Java as compared to the other two?

  Calculates the area of a triangle

Write a simple Java application which calculates the area of a triangle. Your application should ask the user to enter the base and height values of the triangle.

  Write a program that creates a two-dimensional array

Write a program that creates a two-dimensional (2D) array initialized with test data (for instance, use Random method to prepare an array of integers).

  Write applet which reads five numbers-draw equivalent stars

Write the applet which reads five numbers (each between 1 and 30). For each number read, your program must design line containing that number of adjacent asterisks.

  Method summarizesequences that takes a string as a parameter

Now implement the method summarizeSequences that takes a String as a parameter. This method should open the file named by this String, and read a sequence from that file into an array list using the getSequence method you wrote above

  Role of object oriented programming in modern programming

the role of Object Oriented programming in modern programming solutions

  Write a program to track hourly employee departure

A company hires you to write a program to track hourly employee arrival and departure times from work. In essence, you are tasked to make an online time clock.

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