Certain Letters Occur A Lot More

Print   

02 Nov 2017

Disclaimer:
This essay has been written and submitted by students and is not an example of our work. Please click this link to view samples of our professional work witten by our professional essay writers. Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of EssayCompany.

In the cipher text, Z is the alphabet that appears the most number of times. Therefore it is presumed that Z is substituted for E.

E- 5th letter of the alphabet

Z- 26th letter of the alphabet

I+k= 26

5+k= 26

k=21

When k=21,

a

b

c

d

e

f

g

h

i

j

k

l

m

n

o

p

q

r

s

t

u

v

w

x

y

z

V

W

X

Y

Z

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

Figure 1.1 Top row depicts the plain text; bottom row depicts the corresponding cipher text

Using Figure 1.1, the message from the cipher text WPTHJMZNCVMZNVOJIXZ is BUYMORESHARESATONCE.

(i) The most frequently occurring letters in this cipher text are letter ‘g’ and ‘h’.

If ‘g’ correspond to the most frequently occurring letter in English, ‘E’,

‘E’- 5th letter of the alphabet, ‘g‘- 7th letter of the alphabet

I+k= 7

5+k= 7

k=2

When k=2,

a

b

c

d

e

f

g

h

i

j

k

l

m

n

o

p

q

r

s

t

u

v

w

x

y

z

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

A

B

Figure 1.2 Top row depicts the plain text; bottom row depicts the corresponding cipher text

Plaintext will be dqbadfftueeqmeazesmyqmfyupzustf

If ‘h’ correspond to the most frequently occurring letter in English, ‘E’,

‘E’- 5th letter of the alphabet,’ h‘- 8th letter of the alphabet

I+k= 8

5+k= 8

k=3

When k=3,

a

b

c

d

e

f

g

h

i

j

k

l

m

n

o

p

q

r

s

t

u

v

w

x

y

z

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

A

B

C

Figure 1.3 Top row depicts the plain text; bottom row depicts the corresponding cipher text

Plaintext will be fsdcfhhvwggsogcbguoasohawrbwuvh

Both plaintexts do not have any meaning behind the messages. Therefore both ‘g’ and ‘h’ does not correspond to the letter ‘E’ in the plain text.

(ii)

Figure 1.4 Cipher text letter frequencies chart

(iii) From Figure 1.4, the longest sequence of low-frequency letters are I, j, k, l, m, n. There are 6 consecutive letters. From Fig 1, we need to obtain 6 consecutive low-frequency letters. They are u, v, w, x, y, z. The letter ‘u’ is chosen over the letter ‘a’ because the frequency is higher. Therefore v, w, x, y, z, a are not chosen. For the letter ‘I’ in the cipher text to correspond to the letter ‘u’ in plaintext, the length of the cyclic shift will be 14.

(iv)

Length of the cyclic shift =14

a

b

c

d

e

f

g

h

i

j

k

l

m

n

o

p

q

r

s

t

u

v

w

x

y

z

O

P

Q

R

S

T

U

V

W

X

Y

Z

A

B

C

D

E

F

G

H

I

J

K

L

M

N

Figure 1.5 Top row depicts the plain text; bottom row depicts the corresponding cipher text

Using figure 1.5, the message from the cipher text of FSDCFHHVWGGSOGCBGUOASOHAWRBWUVH will be reportthisseasonsgameatmidnight

Question 2

Plaintext

M

E

E

T

M

E

A

T

S

E

V

E

N

F

O

R

T

Y

F

I

V

E

Keyword

C

A

G

E

C

A

G

E

C

A

G

E

C

A

G

E

C

A

G

E

C

A

Cipher text

O

E

K

X

O

E

G

X

U

E

B

I

P

F

U

V

V

Y

L

M

X

E

Fig 2.1 Cipher text for plaintext ’MEET ME AT SEVEN FORTY FIVE’

According to fig 2.1, the cipher text for text for plaintext ’MEET ME AT SEVEN FORTY FIVE’ will be ‘OEKX OE GX UEBIP FUVVY LMXE’.

Fig 2.2 Cipher text letter frequencies chart

In Fig 2.2, there is only one highest letter frequencies that is the letter ‘e’, whereas in Figure 1.4, there are 2 letters that have the highest frequencies, letter ‘g’ and ‘h’. In Fig 1.4, there are only 13 different letters used in the plain text, whereas in Fig 2.2 it would not be possible to derive how many different letters used in the plaintext from the cipher text because of the cipher used.

By using the Vigenere cipher, the letter E in the plaintext can be enciphered as different cipher text letters at different points in the message as shown in Fig 2.1, thus making it difficult for frequency analysis to be used in an attack on this cipher.

Repetition of the keyword shows patterns in character frequency that can be analysed and exploited to uncover the keyword.

Using frequency analysis, the letter ‘E’ in the cipher text is the most frequently used. It is matched with the letter ‘E’ that is the most frequently occurring letter in the English language. The second letter of the keyword can then be identified as the letter ‘A’. The problem is using the letter ‘A’ as part of the keyword, the plaintext will be the same as the corresponding cipher text. The letter ‘A’ is a trivial key.

If the keyword used is the same length as or greater than the length of the plaintext, the weakness in (d) would be circumvented. The length of the plaintext in this question is 22 letters. Therefore a different choice of keyword would require a keyword that contains 22 letters or more.

The disadvantages are the keyword would be difficult for both parties to remember, thus making it very likely that they would write it down somewhere, leaving the secrecy of the keyword in jeopardy.

The keyword might be a combination of English words or phrases. It would be harder for the attacker to guess the characters of the plaintext message from the keyword, if each letter is randomly generated and only used once.

Question 3

The distance between the occurrences of the sequence ‘Y P I’ is 50 letters.

3-letter sequence

Distance between occurrences

YPI

50

SBM

20

BWP

45

Fig 3.1 3-letter sequence and its respective distance in letters.

The greatest common divisor between 50, 20, and 45 is 5. Therefore k=5.

Fig 3.2 Frequencies of the 1st letter in the cipher text

From Fig 3.2, the longest sequence of low-frequency letters are z, a, b, c, d, e, f. There are 7 consecutive letters. From Fig 1, we need to obtain 7 consecutive low-frequency letters. They are u, v, w, x, y, z, a. For the letter ‘z’ in the cipher text to correspond with letter ‘u’ in the plaintext, the length of the cyclic shift will be 5.

Fig 3.3 Frequencies of the 2nd letter in the cipher text

From Fig 3.3, the longest sequence of low-frequency letters is d, e, f, g, h. There are 5 consecutive letters. From Fig 1, we need to obtain 5 consecutive low-frequency letters. They are v, w, x, y, z. For the letter ‘d’ in the cipher text to correspond with letter ‘v’ in the plaintext, the length of the cyclic shift will be 8.

Fig 3.4 Frequencies of the 3rd letter in the cipher text

From Fig 3.4, the longest sequence of low-frequency letters are y, z, a, b, c, d. There are 6 consecutive letters. From Fig 1, we need to obtain 6 consecutive low-frequency letters. They are u, v, w, x, y, z. For the letter ‘y’ in the cipher text to correspond with letter ‘u’ in the plaintext, the length of the cyclic shift will be 4.

Fig 3.5 Frequencies of the 4th letter in the cipher text

From Fig 3.5, there are 4 longest sequences of low-frequency letters. They are ‘a, b, c’,’ g, h, I’, ‘q, r, s’ and ‘u, v, w’. Therefore using the low-frequency letters to identify the length of the cyclic shift is not possible. Instead, the letter frequency data in Fig 3.5 is used to find the length of the cyclic shift. In Fig 3.5, the letter ‘p’ is the most frequently occurring letter. From Fig 1, the most frequently occurring letter in English is the letter ‘e’. For the letter ‘p’ in the cipher text to correspond with letter ‘e’ in the plaintext, the length of the cyclic shift will be 11.

Fig 3.6 Frequencies of the 5th letter in the cipher text

From Fig 3.6, there are 2 longest sequences of low-frequency letters. They are ‘k, l, m, n’ and ’x, y, z, a’. Therefore using the low-frequency letters to identify the length of the cyclic shift is not possible. Instead, the letter frequency data in Fig 3.6 is used to find the length of the cyclic shift. In Fig 3.6, the letter ‘h’ is the most frequently occurring letter. From Fig 1, the most frequently occurring letter in English is the letter ‘e’. For the letter ‘h’ in the cipher text to correspond with letter ‘e’ in the plaintext, the length of the cyclic shift will be 3.

The five letters obtained above are combined into one keyword: FIELD. The decryption process of the cipher text will be as shown below.

Cipher text

Y

P

I

N

R

R

X

E

Y

B

N

A

G

Z

P

R

Q

X

E

H

I

B

S

D

H

Keyword

F

I

E

L

D

F

I

E

L

D

F

I

E

L

D

F

I

E

L

D

F

I

E

L

D

Plaintext

T

H

E

C

O

M

P

A

N

Y

I

S

C

O

M

M

I

T

T

E

D

T

O

S

E

Cipher text

Q

T

M

Y

J

N

B

W

P

Q

Y

Q

V

P

R

U

M

V

L

W

N

W

R

T

Q

Keyword

F

I

E

L

D

F

I

E

L

D

F

I

E

L

D

F

I

E

L

D

F

I

E

L

D

Plaintext

L

L

I

N

G

I

T

S

E

N

T

I

R

E

O

P

E

R

A

T

I

O

N

I

N

Cipher text

Y

P

I

P

D

X

B

I

F

U

T

X

I

L

Q

X

C

F

N

R

S

B

M

Y

H

Keyword

F

I

E

L

D

F

I

E

L

D

F

I

E

L

D

F

I

E

L

D

F

I

E

L

D

Plaintext

T

H

E

E

A

S

T

E

U

R

O

P

E

A

N

S

U

B

C

O

N

T

I

N

E

Cipher text

S

B

W

P

F

W

M

G

J

L

X

M

W

D

H

S

B

M

L

O

G

M

J

Z

U

Keyword

F

I

E

L

D

F

I

E

L

D

F

I

E

L

D

F

I

E

L

D

F

I

E

L

D

Plaintext

N

T

S

E

C

R

E

C

Y

I

S

E

S

S

E

N

T

I

A

L

B

E

F

O

R

Cipher text

J

B

L

P

W

J

I

Q

X

H

J

B

W

Keyword

F

I

E

L

D

F

I

E

L

D

F

I

E

Plaintext

E

T

H

E

T

E

A

M

M

E

E

T

S

Fig 3.7 Decryption of cipher text using the keyword FIELD

From Fig 3.7, the original plaintext is THE COMPANY IS COMMITTED TO SELLING ITS ENTIRE OPERATION IN THE EAST EUROPEAN SUBCONTINENT SECRECY IS ESSENTIAL BEFORE THE TEAM MEETS



rev

Our Service Portfolio

jb

Want To Place An Order Quickly?

Then shoot us a message on Whatsapp, WeChat or Gmail. We are available 24/7 to assist you.

whatsapp

Do not panic, you are at the right place

jb

Visit Our essay writting help page to get all the details and guidence on availing our assiatance service.

Get 20% Discount, Now
£19 £14/ Per Page
14 days delivery time

Our writting assistance service is undoubtedly one of the most affordable writting assistance services and we have highly qualified professionls to help you with your work. So what are you waiting for, click below to order now.

Get An Instant Quote

ORDER TODAY!

Our experts are ready to assist you, call us to get a free quote or order now to get succeed in your academics writing.

Get a Free Quote Order Now