In setting up to do RSA public key encryption, let p = 3 and q = 23 be the two initial prime numbers. Also let e = 5 be a randomly chosen value less than and relatively prime to Φ(n).Given the values above, compute the following. You must show all work to receive full credit:

What is the value of n ?
What is Φ(n) ?
Show that the value d = 9 is the modulo Φ(n) inverse of e.
What is the corresponding public key for these values?
What is the corresponding private key for these values?

Answers

Answer 1
Answer:

Answer:

1. 69

2. 44

3. See explanation

4. (69,5)

5. (69,9)

Explanation:

1. n=p*q=23*3=69

2. Φ(n)=(p-1)(q-1)=2(22)=44

3. e=5,

    ed mod Φ(n)=9*5 mod 44=45 mod 44=1

4. Public key=(n,e)=(69,5)

5. Private key=(n,d)=(69,9)

Answer 2
Answer:

In this exercise, we have to use the encryption knowledge to calculate what is needed, so we have:

1. 69

2. 44

3. 1

4. (69,5)

5. (69,9)

What is public key encryption?

Public key encryption, or public key cryptography, is a method of encrypting data with two different keys and making one of the keys, the public key, available for anyone to use. The other key is known as the private key.

1.So to perform the calculations of N, we have:

n=p*q=23*3=69

2.  For relatively prime calculations we have:

\phi (n)=(p-1)(q-1)=2(22)=44

3. So for the inverse module, we have:

 ed mod Φ(n)=9*5 mod 44=45 mod 44=1

4. For the public key, we have:

Public key=(n,e)=(69,5)

5. For the private key, we have:

Private key=(n,d)=(69,9)

See more about encryption at brainly.com/question/8455171


Related Questions

Edhisive 3.5 code practice
How many generations of computer languages have there been since the middle of the 20th century?
(Numerical Data Representation) How many bits per word are required to represent the following positive decimal integers: a.0 through 100b.0 through 255c.0 through 256d.0 through 10,000,000
A data structure used to bind an authenticated individual to a public key is the definition of ________. digital certificate baseline internet layerdata link layer
why is the disk method a special case of the general slicing​ method? choose the correct answer below. a. the cross sections of the slices are disks with holes through them. b. the functions that generate the solids are all lines. c. the functions that generate the solids are all parabolas. d. the cross sections of the slices are disks.

Given the following code segment, what is output after "result = "? int x = 1, y = 2, z = 3; cout << "result = " << (x < y ? y : x) << endl;a. 1
b. 2
c. 3
d. 4

Answers

Answer:

b. 2

Explanation:

Write a C++ program to find the number of pairs of integers in a given array of integers whose sum is equal to a specified number.

Answers

Answer:

int main()

{

   int A1= {5,3,4,8,9,0,7};

   int SArri1 = sizeof(A1);

  printf("Original array: ");

   

   for (int i=0; i < SArri1;i++)  

   printf("", A1[i] );

   

   int i, sum = 20, n= 0;

   printf("\nArray pairs whose sum equal to 20: ");

   

   for (int i=0; i<SArri1; i++)

       for (int j=i+1; j<SArri1; j++)

           if (A1[i]+A1[j] == sum)

             {

              Printf(“\n”, array1[i])

Printf(“,”,array1[j]);

               n++;

             }

 

  printf("\nNumber of pairs whose sum equal to 20: ",n)

   return 0;

}

Explanation:

First of all, you should create the array of integers, and put random numbers. Then you have to save in a constant the size of the array (in this  code is called SArr1) With a for you can print all the numbers that are on the array because then you will print all array pairs whose sum is equal to  a specified numer. in this code we are going to use 20.

then with a condition (if) you are going to compare one of number of the array with all the others and check if its equal to 20. If yes, it going to print the numbers that answer to that condition and it's going to add +1 to the variable n (for this you will need to use two bucles for)

Then you can print the number of pairs whose sum is equal to 20 by printing n

If two light bulbs are wired in series and one bulb burns out the other bulb will

Answers

The other bulb won't work.
the other bulb would not work

What is touch-typing?typing with a keyboard shortcut
typing with macros
typing with only one hand
typing without looking at the keyboard

Answers

Typing without looking at the keyboard and using all fingers. I do this, so I'm 99% that's the correct answer.
Typing without looking at the keyboard.

Last one

On a roulette wheel, the pockets are numbered from 0 to 36. The colors of the pockets are as follows: Pocket 0 is green. For pockets 1 through 10, the odd-numbered pockets are red and the even-numbered pockets are black. For pockets 11 through 18, the odd-numbered pockets are black and the even-numbered pockets are red. For pockets 19 through 28, the odd-numbered pockets are red and the even-numbered pockets are black. For pockets 29 through 36, the odd-numbered pockets are black and the even-numbered pockets are red. Write a program that asks the user to enter a pocket number and displays whether the pocket is green, red, or black. The program should display an error message if the user enters a number that is outside the range of 0 through 36.

Answers

Answer:

pkt = int(input("Pocket Number: "))

if pkt == 0:

   print("Green")

elif pkt >= 1 and pkt <=10:

   if pkt%2 == 0:

       print("Black")

   else:

       print("Red")

elif pkt >= 11 and pkt <=18:

   if pkt%2 == 0:

       print("Red")

   else:

       print("Black")

elif pkt >= 19 and pkt <=28:

   if pkt%2 == 0:

       print("Black")

   else:

       print("Red")

elif pkt >= 29 and pkt <=36:

   if pkt%2 == 0:

       print("Red")

   else:

       print("Black")

else:

   print("Error")

Explanation:

The program was written in Python and the line by line explanation is as follows;

This prompts user for pocket number

pkt = int(input("Pocket Number: "))

This prints green if the pocket number is 0

if pkt == 0:

   print("Green")

If pocket number is between 1 and 10 (inclusive)

elif pkt >= 1 and pkt <=10:

This prints black if packet number is even

   if pkt%2 == 0:

       print("Black")

Prints red, if otherwise

   else:

       print("Red")

If pocket number is between 11 and 18 (inclusive)

elif pkt >= 11 and pkt <=18:

This prints red if packet number is even

   if pkt%2 == 0:

       print("Red")

Prints black, if otherwise

   else:

       print("Black")

If pocket number is between 19 and 28 (inclusive)

elif pkt >= 19 and pkt <=28:

This prints black if packet number is even

   if pkt%2 == 0:

       print("Black")

Prints red, if otherwise

   else:

       print("Red")

If pocket number is between 29 and 36 (inclusive)

elif pkt >= 29 and pkt <=36:

This prints red if packet number is even

   if pkt%2 == 0:

       print("Red")

Prints black, if otherwise

   else:

       print("Black")

Prints error if input is out of range

else:

   print("Error")

An analyst receives an alert from the SIEM showing an IP address that does not belong to the assigned network can be seen sending packets to the wrong gateway. Which of the following network devices is misconfigured and which of the following should be done to remediate the issue? A. Firewall; implement an ACL on the interface B. Router; place the correct subnet on the interface C. Switch; modify the access port to trunk port D. Proxy; add the correct transparent interface

Answers

Answer: (A)  Firewall; implement an ACL on the interface

Explanation:

 According to the question, for re-mediate the issue firewall should be implemented the ACL (Access control list) on the given interface. The access control list is one of the type of logic which selectively give permission or deny the number of packet in the system which to through the interface.

Firewall is the type of device that basically examine the traffic in the network system and also make several decisions in the system. ACL is the set of rule which mainly define the route of the packet in the router interface state.