Answer:
A Program was written to carry out some set activities. below is the code program in C++ in the explanation section
Explanation:
Solution
CODE
#include <iostream>
using namespace std;
int main() {
string name; // variables
int number;
cin >> name >> number; // taking user input
while(number != 0)
{
// printing output
cout << "Eating " << number << " " << name << " a day keeps the doctor away." << endl;
// taking user input again
cin >> name >> number;
}
}
Note: Kindly find an attached copy of the compiled program output to this question.
The conversion factor is 10 to the 9th power
If your choices are the following:
<span>A. Legend
B. Chart area
C. Slices
D. Chart elements
Then the answer is letter B. </span>Chart area is the boundary that contains all the chart and all its elements including the chart titles, legends, plot area, labels, etc.
Answer:
Encryption method security:-
- Encryption method representing each alphabetic character as an integer between 0 and 25.
- Now, apply RSA algorithm for each integer is not an efficient secure encryption method.
Explanation:
- Let consider alphabetic characters set {A, B... Z} .
- Each alphabetic character forms a set of message block values M={0,1,2...,25).
- From encryption method the corresponding cipher text block value C = {0e mod n,1e mod n, 2e mod n,..., 25e mod n}.
- Then, compute the cipher text with knowledge of Bob's public key;
- If the public key is generated, then possibility to decrypt the cipher text to plain text.
- The generated public key is easily calculated by everyone and security is lost.
- Therefore, the encryption method is not secure.
Encryption method is not secure, Most efficient attack against this method:-
- Now, compute the encryption message with the function Me mod n for all the possible values of M.
- This is the most efficient attack against the scheme in encryption method.
- Then, create a look-up table with cipher text as an index to the corresponding plain text as a value for appropriate location in the table.