The key would he use to create the digital signature is Mike public key.
<h3>Which key is used to sign messages?</h3>
Digital signatures are known to be used via public key. Here, the person is said to be one who is said to produce or creates the digital signature that uses a private key to encrypt signature-linked data.
The only way to decrypt a data is only with the signer's public key, the key David would use to create the digital signature is Mike public key.
Learn more about public key from
brainly.com/question/17486027
What did you do? Write that as the first part
Answer:
Answer explained below
Explanation:
void bubbleSort(int X[], int Y[], int n)
{
int i, j;
for (i = 0; i < n-1; i++)
// Last i elements are already in place
for (j = 0; j < n-i-1; j++)
if (X[j] > X[j+1])
{
swap(X[j],X[j+1])
swap(Y[j],Y[j+1]);
}
if (X[j] == X[j+1]&&Y[j]<Y[j+1])
{
swap(X[j],X[j+1])
swap(Y[j],Y[j+1]);
}
}
Since the above algorithm contains 2 nested loops over n.
So, it is O(n^2)