Knowee
Questions
Features
Study Tools

use the additive cipher with key =15 to encript the message ''hello''

Question

use the additive cipher with key =15 to encript the message ''hello''

🧐 Not the exact question you are looking for?Go ask a question

Solution

Sure, here's how you can use the additive cipher with key = 15 to encrypt the message "hello":

  1. First, you need to convert each letter in the message to its corresponding numerical value. In the English alphabet, 'a' is 0, 'b' is 1, 'c' is 2, and so on, up to 'z' which is 25. So, for "hello", we get: h=7, e=4, l=11, l=11, o=14.

  2. Next, add the key (15 in this case) to each of these numerical values. If the sum is greater than 25, subtract 26 from it to get a number within the 0-25 range. This is because there are 26 letters in the English alphabet. So, we get: 7+15=22, 4+15=19, 11+15=26 (subtract 26 to get 0), 11+15=26 (subtract 26 to get 0), 14+15=29 (subtract 26 to get 3).

  3. Finally, convert these numerical values back to letters to get the encrypted message. So, 22=w, 19=t, 0=a, 0=a, 3=d.

Therefore, the message "hello" encrypted using the additive cipher with key = 15 is "wtaad".

This problem has been solved

Similar Questions

What will be the correct cipher text for the message “Hello” and K = ‘N’ using Auto key cipher.

const crypto = require('crypto');  const cipher = crypto.createCipher('aes192', 'a password');  var encrypted = cipher.update('Hello JavaTpoint', 'utf8', 'hex');  encrypted += cipher.final('hex');  console.log(encrypted);

You are creating a script in Python. In the script, you need to find out the user’s name so you can give a response to the user. You begin typing your script:answer = input(‘What is your name? ‘)______(‘Hi ‘+answer+’, nice to meet you!’)What should you type in the blank space? (Please type your answer all in lower case. Example: input)

Make a function that encrypts a given input with these steps:Input: "apple"Step 1: Reverse the input: "elppa"Step 2: Replace all vowels using the following chart:a => 0e => 1i => 2o => 2u => 3# "1lpp0"Step 3: Add "vit" to the end of the word: "1lpp0vit"Output: "1lpp0vit"NotesAll inputs are strings, no uppercases and all output must be strings.i/p:bananao/p:0n0n0bvit

Encrypt the message VA using the function f (p) = (p + 7) mod 26.Select one:a.ALb.CHc.None of the othersd.DMe.BK

1/1

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.