Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Encrypt the message APPLES AND ORANGES using a shift chipper with key k=13 .

Short Answer

Expert verified

The encrypted message for APPLES AND ORANGES is NCCYRF NAQ BENATRF.

Step by step solution

01

Encryption function for shift chipper

A shift chipper is a private key because when you know the encryption key , then the encryption function is f(p)=(p+k)mod26.

02

Encrypt the message APPLES AND ORANGES by shift chipper

We have given that keyk=13

So, the encryption function is f(p)=(p+13)mod26.

Now, also we know that code for alphabet is

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

So, we get

01515114180133141701364

Now, we have an encryption key k=13

So, by encryption function we get,

13282824173113261627301326191731(mod26)132224175130161413019175

So, for given numbers alphabet is given by,

NCCYRF NAQ BENATRF.

Hence, encrypted message for APPLES AND ORANGES is NCCYRF NAQ BENATRF.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free