Home / Expert Answers / Computer Science / encrypt-the-plain-text-p-39-neversaynever-39-to-cipher-text-c-using-the-affine-cipher-pa962

(Solved): Encrypt the plain text \( (P)= \) 'NEVERSAYNEVER' to cipher text \( (C) \) using the affine cipher ...






Encrypt the plain text \( (P)= \) NEVERSAYNEVER to cipher text \( (C) \) using the affine cipher rule \( C=x * P+y \) with
Encrypt the plain text \( (P)= \) 'NEVERSAYNEVER' to cipher text \( (C) \) using the affine cipher rule \( C=x * P+y \) with the following keys i. \( x=2, y=0 \); ii. \( x=4, y=0 \) iii. \( x=6, y=0 \) iv. \( x=8, y=0 \) Answer the following- a) What is the problem with these keys? b) Did you find any specific/fixed pattern within the cipher text using these keys? If yes, what is that pattern? c) Now consider \( x \) is always an even number and \( y \) is always 0 . What conclusion you can draw about encrypting the given plain text \( P \) ?


We have an Answer from Expert

View Expert Answer

Expert Answer


here the given cipher rule is C=x*P+y for every x and y we will find the respective encrypted text i) x=2,y=0; N-> (2*N+0)%26=2*14+0=28%26=2=B E-> (2*E+0)%26=(2*5+0)%26=10=J V->(2*V+0)%26=18=R similarly, R=J,S=L,A=B,Y=X on the encrypted text will be
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe