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
mamaluj [8]
3 years ago
15

What is diffie-hellman most commonly used for?

Computers and Technology
1 answer:
Alex777 [14]3 years ago
6 0
DH is an algorithm to derive a shared secret over an unsafe channel.

Both parties exchange public keys, and can join them together with their private keys to create the secret. An eavesdropper can see both public keys, but since he doesn't posess the private keys, cannot derive the same secret.

The secret can be used to subsequently encrypt communications with a symmetric algorithm.

TLS uses this approach.
You might be interested in
Which of the following is an approach to debugging?
lora16 [44]
D) code restructuring
6 0
3 years ago
Read 2 more answers
Clarifying and developing our personal values involves a number of steps including critical thinking
Grace [21]
True. I think we should trust ourselves and interaction with someone including teachers, classmates and parents...We must be developing our critical thinking skills.
8 0
3 years ago
Caleb is working in an Excel spreadsheet and realizes that he incorrectly spelled a word he used in multiple cells. Which can Ca
Irina18 [472]
Given the situation above regarding the error that Caleb made in the spelling of a particular word which was repeated in multiple cells, the steps that he can do in order to correct this are the following:
1. G<span>o to Review, Spelling, and select Change each time the error is found.
2. G</span><span>o to Home, Editing, Find, search for the incorrect spelling, and Replace to replace it with the correctly spelled word.
Hope this helps.</span>
5 0
3 years ago
3. (20 points) Write a C++ recursive function that finds the maximum value in an array (or vector) of integers without using any
Luden [163]

Answer:

Following are the code to this question:

In option (i):

#include <iostream>//defining header file

using namespace std;

int findMax(int B[], int x)//defining recursive method findMax

{

if (x == 1)//defining condition when value of n==1

return B[0];//return array first element

return max(B[x-1], findMax(B, x-1)); // calling recursive method inside max method and return value

}

int main() //defining main method  

{

int B[] = {12, 24, 55, 60, 50, 30, 29};//defining array B

int x= 7;//defining integer variable and assign a value

cout << "Maximum element value of the array is: "<<findMax(B, x)<<endl;//calling method findMax and print value

return 0;

}

Output:

Maximum element value of the array is: 60

In option (ii):

\Rightarrow \ T(n) = 1 + T(n-1)\\\Rightarrow  1 + 1 + T(n-2)\\ \Rightarrow  1 + 1 + 1 + ... n \ times \\\Rightarrow  O(n) \\

Explanation:

In the above-given program a recursive method "findMax" is defined, which accepts an array "B" and an integer variable "n" in its parameter, inside the method a conditional statement is used that, checks value of x equal to 1.

  • If the above condition is true it will return the first element of the array and find the max number.
  • Inside the main method, an array B is declared that assigns some values and an integer variable is declared, that also assigns some values, in the last step print method is used that pass value in method and prints its return value.
  • In the option (ii) we calculate the Big-O notation algorithm value.
5 0
4 years ago
Which option identifies an important language for Sasha to understand in the following scenario?
DiKsa [7]

Keeping the fact in mind that Sasha wants to work as a program developer of iPhone applications, she will have to make use of the native language Objective-C.

Objective-C

<u>Explanation:</u>

The iPhone applications and interface work on iPhone Operation System or IOS, that make them completely different from the android and other operating systems currently being used in smartphones.

Moreover, Apple Inc. took a decision to use native languages like Objective-C for application development in the IOS environment because it cost them less as compared to other languages and the performance parameter also stands high and unaffected.

3 0
3 years ago
Other questions:
  • An example of a primary collision factor is
    6·2 answers
  • what is the opportunity cost of buying a $.75 soda everyday at school for 3 years instead of drinking water ? assume you are in
    10·2 answers
  • A 9-year old male castrated Westie presents on emergency after being rescued from a house fire. On presentation, the dog has a r
    9·1 answer
  • Explain in details three security countermeasures you know.​
    10·1 answer
  • 1 Which of these is not an Operating System ?
    7·2 answers
  • Write two examples of hard copy output?​
    9·1 answer
  • One shortcoming of rapid application development (RAD) is _____.
    9·1 answer
  • Who invented slide Rule and when?​
    7·2 answers
  • You want to purchase a computer, and the salesperson refers to separate pricing for a system unit and for the software applicati
    9·1 answer
  • Which of the following is true about stateless applications?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!