The answer is chitchatting
Answer:
The correct answer is A: UserB sends UserA UserB's public key
Explanation:
In Asymmetrical Encryption, the both user involve in the secure communication must have a pair of key called public and private key. There are various step involves with engaging in Asymmetrical encryption, they include:
1. Each user generates a pair of keys to be used for the encryption and decryption of messages.
2. Each user places one of the two keys in a public register or other accessible file. This is the public key. The companion key is kept private.
3. If User B wishes to send a confidential message to User A, User B encrypts the message using User A's public key.
4. When User A receives the message, User A decrypts it using her private key. No other recipient can decrypt the message because only User A knows User A's private key.
Therefore, from the steps above, Option B and C are wrong because the private key/secret key should never be shared between users in asymmetrical encryption.
Option A is the correct answer as UserB sends UserA UserB's public key which is available to the everyone.
Answer:
charge = 0
hours_worked = int(input("Enter the hours worked: "))
cost_of_parts = float(input("Enter the cost of parts: "))
if hours_worked == 0:
charge = 75
else:
charge = 120 + (75 * hours_worked) + cost_of_parts
print("The charge is $" + str(charge))
Explanation:
*The code is in Python.
Initialize the charge as 0
Ask the user to enter the hours_worked and cost_of_parts
Check the hours_worked. If it is 0, that means there is no inspecting. Set the charge to 75
Otherwise, (That means there is an inspecting) set the charge to 120, minimum charge, + (hours_worked * 75) + cost_of_parts
Print the charge
- The status of a part that is not constrained to a specified size or shape. Parts are rigid bodies by .... A selection setting used during creation of 3D fillets. .... A group of individual iMates, selected and named in the browser, that are to be used as a unit. ... A fillet that has the same radius along its entire length.
Answer:
import java.util.*;
public class work {
// function for counting unique character
public static int numUnique(String input) {
boolean[] list = new boolean[Character.MAX_VALUE];
for (int i = 0; i < input.length(); i++) {
list[input.charAt(i)] = true;
}
int count = 0;
for (int i = 0; i <list.length; i++) {
if (list[i] == true){
count++;
}
}
return count;
}
public static void main(String args[])
{
List<String>list=new ArrayList<>(); // creatng array list of type string
list.add("abcdef");
list.add("aaabcd");
list.add("bccddee");
list.add("abcddd");
list.add("a");
for(String str:list)
{
// for printing the results
System.out.println("given string : "+ str+" , number of unique values :"+numUnique(str));
}
}
}
Explanation: