Question

In: Computer Science

i j(i) i j(i) i j(i) i j(i) 0 -0.0499 7 -0.08539 13 0.144812 19 0.08021...

i

j(i)

i

j(i)

i

j(i)

i

j(i)

0

-0.0499

7

-0.08539

13

0.144812

19

0.08021

1

0.107506

8

0.062922

14

-0.0499

20

-0.30103

2

-0.06719

9

-0.04444

15

-0.18366

21

-0.33834

3

-0.04717

10

0.219422

16

-0.02898

22

0.058373

4

-0.09176

11

0.083849

17

0.08021

23

0.79083

5

-0.25918

12

-0.02261

18

-0.14271

24

0.130254

6

0.055643

25

-0.10177

  1. (3 points) Please encipher the following plaintext with Caesar Cipher and the encryption key of 10: TODAYISTUESDAY;
  1. (3 points) In a Caesar cipher, the encryption key is 5, and the ciphertext is LTTIQZHPBNYMDTZWJCFR, please decipher it;

  1. (6 points) Decipher the following ciphertext, which was enciphered using the Caesar cipher: TEBKFKQEBZLROPBLCERJXKBSBKQP.
  1. (4 points) Let k be the encipherment key for a Caesar cipher. The decipherment key differs; it is 26 – k. One of the characteristics of a public key system is that the encipherment and decipherment keys are different. Why then is the Caesar cipher a classical cryptosystem, not a public key cryptosystem? Be specific.

Solutions

Expert Solution

In Caesar Cipher ,input text/plain text is shifted particular number of places down the alphabet.

Encryption

For example, if plain text = ABC and key = 2

A is shifted 2 places ahead in alphabet set to become C; Similarly B is shifted to become D and C to E.
Therefore ciphertext = CDE

Decryption

It is exactly opposite of encryption. if cipher text = CDE and key = 2

C is shifted 2 places backward in alphabet set to become A; Similarly D is shifted to become B and E to C.
Therefore ciphertext = ABC

a) Please encipher the following plaintext with Caesar Cipher and the encryption key of 10: TODAYISTUESDAY
Following the principles as mentioned above, for plaintext = TODAYISTUESDAY; key =10
Cipher text = DYNKISCDEOCNKI

b) In a Caesar cipher, the encryption key is 5, and the ciphertext is LTTIQZHPBNYMDTZWJCFR, please decipher it
Following the principles as mentioned above, for ciphertext = LTTIQZHPBNYMDTZWJCFR; key =5
Plain text = GOODLUCKWITHYOUREXAM

c) Decipher the following ciphertext, which was enciphered using the Caesar cipher: TEBKFKQEBZLROPBLCERJXKBSBKQP.

Using hit and trial method, we use all the keys from 1 to 26 one by one to decipher the cipher text as in b) until we find the decrypted text having some meaning.
So we observe for key = 23; Decrypted Text = WHENINTHECOURSEOFHUMANEVENTS which denotes something meaningful.

d) Let k be the encipherment key for a Caesar cipher. The decipherment key differs; it is 26 – k. One of the characteristics of a public key system is that the encipherment and decipherment keys are different. Why then is the Caesar cipher a classical cryptosystem, not a public key cryptosystem? Be specific.

In public key cryptosystem, one should not be able to derive the decipherment key from the encipherment key. But in Caesar cipher if we know the encipherment key say 'k', we can also tell what the decipherment key will be. It is 26-k. Hence any attacker can apply brute force to decipher the ciphertext . Moreover Caesar cipher can have only 26 keys. Therefore, Caesar cipher is a classical cryptosystem, not a public key cryptosystem.


Related Solutions

int f2 (int n) j = 0; while (j <n) {for (int i = 0; i...
int f2 (int n) j = 0; while (j <n) {for (int i = 0; i <n; ++ i) {cout << "j =" + j; j = j + 5; }}
Let L = {aibj | i ≠ j; i, j ≥ 0}. Design a CFG and...
Let L = {aibj | i ≠ j; i, j ≥ 0}. Design a CFG and a PDA for this language. Provide a direct design for both CFG and PDA (no conversions from one form to another allowed).
def longest(string): start=0;end=1;i=0; while i<len(string): j=i+1 while j<len(string) and string[j]>string[j-1]: j+=1 if end-start<j-i: #update if current...
def longest(string): start=0;end=1;i=0; while i<len(string): j=i+1 while j<len(string) and string[j]>string[j-1]: j+=1 if end-start<j-i: #update if current string has greater length than #max start and end end=j start=i i=j; avg=0 for i in string[start:end]: avg+=int(i) print('The longest string in ascending order is',string[start:end]) print('Teh average is',avg/(end-start)) s=input('Enter a string') longest(s) i need a definition and explanation of this code that how it works?
Principles of Marketing, 15th Edition, Philip T Kotler, Gary Armstrong ISBN-10: 0-13-308404-3 ISBN-13: 978-0-13-308404-7 I need...
Principles of Marketing, 15th Edition, Philip T Kotler, Gary Armstrong ISBN-10: 0-13-308404-3 ISBN-13: 978-0-13-308404-7 I need the answer to this book. 1. Expalin why brand equity is important to the seller. Does ESPN have strong brand equity? How does its brand equity relate to its brand value?
X = [ 6, 0, 13, 10, 7, 16, 13 ] (a) mode (b) median (c)...
X = [ 6, 0, 13, 10, 7, 16, 13 ] (a) mode (b) median (c) mean (d) 20% trimmed mean (e) range (f) interquartile range (g) sample standard deviation (h) winsorized sample standard deviation
6 5 4 5 0 0 13 48 6 1 0 7 2 0 1 1...
6 5 4 5 0 0 13 48 6 1 0 7 2 0 1 1 0 2 11 5 11 27 4 0 6 Create Standard Deviation Chart (Normal Distribution Curve)
3. Let S3 act on the set A={(i,j) : 1≤i,j≤3} by σ((i, j)) = (σ(i), σ(j))....
3. Let S3 act on the set A={(i,j) : 1≤i,j≤3} by σ((i, j)) = (σ(i), σ(j)). (a) Describe the orbits of this action. (b) Show this is a faithful action, i.e. that the permutation represen- tation φ:S3 →SA =S9 (c) For each σ ∈ S3, find the cycle decomposition of φ(σ) in S9.
An inversion in σ ∈ Sn is a pair (i, j) such that i < j...
An inversion in σ ∈ Sn is a pair (i, j) such that i < j and σ(i) > σ(j). Take σ, τ ∈ Sn and take i < j. - Suppose (i, j) is not an inversion in τ. Show that (i, j) is an inversion in στ if and only if (τ(i), τ(j)) is an inversion in σ. - Suppose (i, j) is an inversion in τ. Show that (i, j) is an inversion in στ if and...
Find the length of the curve. 2  t i + et j + e−t k,     0 ≤...
Find the length of the curve. 2  t i + et j + e−t k,     0 ≤ t ≤ 5
a) The J = 0 to J =1 rotational transition of the CO molecule occurs at...
a) The J = 0 to J =1 rotational transition of the CO molecule occurs at a frequency of 1.15×1011 Hz. Use this information to calculate the moment of inertia of the molecule about its center of mass. b) The CO molecule shows a strong absorption line at the frequency 6.42×1013 Hz due to transition from thev= 0 to the v = 1 vibrational levels. Calculate the effective force constant for this molecule. c) Why does CO molecule have pure...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT