Caesar cipher problem The word you is encrypted to kag by Ca

Caesar cipher problem.

The word \'\'you\" is encrypted to \"kag\" by Caesar cipher. Find the encryption and decryption functions of the Caesar cipher. Also give an explanation. What is the encrypted version of the message \'\'computer science\" using the encryption function in (a)? Also give an explanation.

Solution

a) The distance from y to k is 14 words in the alphabetical chain and the distance from o to a is also 14 words and the distance from u to g is also 14 words

Assuming A = 1, B = 2, C= 3 and so on uptil Z = 26

Hence De-Cryption Cypher = (\'alphabet number\' - 14)mod26

Encryption Cypher = (\'alphabet number\' + 12)mod26

b)

using the encryption cypher function designed above we get

C is mapped to O

O is mapped to A

M is mapped to Y

P is mapped to B

U is mapped to G

T is mapped to F

E is mapped to Q

R is mapped to D

Hence the word computer will become OAYBGFQD

S will mapped to E

C will mapped to O

I will mapped to U

E will mapped to Q

N will mapped to Z

C will mapped to O

E will mapped to Q

Hence final answer wil be OAYBGFQD EOUQZOQ

Caesar cipher problem. The word \'\'you\

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site