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
Nikitich [7]
4 years ago
14

Listed below is an example for encrypting text using a Cipher. Assumptions The letters in the alphabet correspond to their count

erparts in arithmetic notation mod 26. So the letters of the alphabet A-Z are represented by the numbers 0-25 respectively. S A M P L E is initially coded as 18 0 12 15 11 4 Next a random stream of numbers is combined with the letter codes: 76 48 03 83 44 16 Encoding the message: 18 00 12 15 11 04 76 48 03 83 44 16 Add 94 48 15 98 55 20 Sum 16 22 15 20 03 20 Mod 26 Now convert into cipher text: Q W P U D U Given the set of random numbers below, convert the word S E C R E C Y into cipher text: Random number stream 18 10 88 65 40 22 25
Computers and Technology
1 answer:
jekas [21]4 years ago
4 0

Answer:

See the explanation section

Explanation:

The general representation of alphabet encoding is given as:

A = 0, B = 1, C = 2, D = 3, E = 4, F = 5, G = 6, H = 7, I = 8, J = 9, K = 10, L = 11,

M = 12, N = 13, O = 14, P = 15, Q = 16, R = 17, S = 18, T = 19, U = 20, V = 21,

W = 22, X = 23, Y = 24, Z = 25.

Based on the sample:

Cipher = E(p, k) = (p + k) mod 26

We want to encrypt SECRECY:

Using a key of 18 10 88 65 40 22 25

S = (18 + 18) mod 26 = 36 mod 26 = 10 =K

E = (4 + 10) mod 26 = 14 mod 26 = 14 = O

C = (2 + 88) mod 26 = 90 mod 26 = 12 = M

R = (17 + 65) mod 26 = 82 mod 26 = 4 = E

E = (4 + 40) mod 26 = 44 mod 26 = 18 = S

C = (2 + 22) mod 26 = 24 mod 26 = 24 = Y

Y = (24 + 25) mod 26 = 49 mod 26 = 23 = X

Therefore, the cipher will be written as: KOMESYX.

Note: p = plaintext and k = key.

You might be interested in
Which category of app does word processing software fall into? A. Productivity B. Entertainment C. Social networking D. Educatio
defon
A is the answer for this question
3 0
4 years ago
Read 2 more answers
(20 points). Some matrixes have very special patterns, for example, in the following matrix, the numbers in the first row are eq
Nostrana [21]

Answer:

#include <iostream>

using namespace std;

void matrix(){

   int row = 5, col = 6;

   int myarr[row][col];

   for (int i = 0; i < 5; i++){

       for (int x = 0; x < 6; x++){

           if (i == 0){

               myarr[i][x] = (x+1)*(x+1);

          }else if ( x == 0){

               myarr[i][x] = (i+1)*(i+1)*(i+1);

           } else if ( i == x){

                myarr[i][x] = (i+1);

           } else{

                myarr[i][x] = myarr[i-1][x] + myarr[i][x-1];

           }

        }

   }

   for (int i = 0; i < 5; i++){

       for (int x = 0; x < 6; x++){

           cout<< myarr[i][x] << " ";

       }

       cout<< "\n";

}

}

int main(){

   matrix();

}

Explanation:

The C++ source code defines a two-dimensional array that has a fixed row and column length. The array is a local variable of the function "matrix" and the void function is called in the main program to output the items of the array.

3 0
3 years ago
Darpa was created to
I am Lyosha [343]
Darpa is an agency that emerges technologies for the military. I would say B. investigate technologies. This is logical because they are working with technologies investigating how, where, and why they need to emerge in the first place.
7 0
4 years ago
Dante went to change the date for an appointment in his Outlook calendar. He double-clicked in the appointment and made the chan
meriva

The correct answer is that Dante did not click the Save and Close button before exiting the appointment.

When you make a change to an appointment in the Outlook calendar you need to click on Save in order to have the change saved in your calendar. If you do not do this the appointment will revert back to the original time and date when you exit the program.

3 0
4 years ago
Which of the following is not considered a system component that can be found inside a computer? A-CPU B-RAM C-PCIe graphics ada
Julli [10]

The answer is C) PCIe graphics adapter, because it is not required for the computer to work.

8 0
3 years ago
Other questions:
  • Which keyboard feature is a form feed character?
    14·1 answer
  • Anthony is responsible for tuning his organization's intrusion detection system. He notices that the system reports an intrusion
    8·1 answer
  • When you touch a hot stove, along which pathway will the impulses travel and what is the final destination in the cns?
    12·1 answer
  • What are Important points to include about preventing the download of malware?
    14·1 answer
  • The structure of the atmosphere based temperature changes ​
    5·1 answer
  • Write a program that gets three input characters which are user's initials and displays them in a welcoming message. Then gets i
    12·1 answer
  • Which of these is not the correct method for moving text in a document in Word 2016?
    5·1 answer
  • Differentiate between patent and copyright.
    6·2 answers
  • What was the name of the first computer, developed by charles babbage?.
    7·2 answers
  • Your network uses a network address of 137. 65. 0. 0 with a subnet mask of 255. 255. 0. 0. How many ip addresses are available t
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!