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

Suppose that the cipher text,ERC WY JJMIRXPC EHZERGIH XIGLRSPSKC MW, MRHMWXMRKYMWLEFPI JVSQ QEKMGwas produced by encrypting a plain text message using a shift cipher. What is the original plain text.

Short Answer

Expert verified

ANY SUFFICIENTLY ADVANCED TECHNOLOGY IS INDUSTINGUISHABLE FROM MAGIC

Step by step solution

01

Step 1

Given message:

ERC WY JJMIRXPC EHZERGIH XIGLRSPSKC MW,

MRHMWXMRKYMWLEFPI JVSQ QEKMG

SHIFT CIPHER:

f(p)=(p+k)mod26

Corresponding cipher:

role="math" localid="1668610838771" f-1(p)=(pk)mod26

The most common letter in the cipher text is M

Let

role="math" localid="1668610893361" 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

M=12

The most common letter in the English text is E, T, A , O, I, N, S, H and R .The description will only make sense, if the letter corresponding to M is I (you could try all common letters and decrypt the first word using the corresponding key, then you will note that only the case of I will make sense).

Let

role="math" localid="1668610884675" 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

I=8

The constantk is then the difference between the two numerical values of the two letters:

k="M" - "l" =128=4

02

Step 2

Given message:

ERC WY JJMIRXPC EHZERGIH XIGLRSPSKC MW,

MRHMWXMRKYMWLEFPI JVSQ QEKMG

Let

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

41722224991261281723152472517687238611171815181021222121771222231217102412221145158921181616410126

Let us apply the decryption role="math" localid="1668610855235" f-1(p)=(p4)mod26

013241820558284131911240321013243194271314116248188133818198136208187011145171412120682

Let

role="math" localid="1668610866391" 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

ANY SUFFICIENTLY ADVANCED TECHNOLOGY IS INDUSTINGUISHABLE FROM MAGIC

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

Most popular questions from this chapter

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free