0% found this document useful (0 votes)
58 views2 pages

Problems - Key

key of CB

Uploaded by

nulinjeriba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views2 pages

Problems - Key

key of CB

Uploaded by

nulinjeriba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Two stage transpositions Cipher on the “treat diagrams as single units” using the

keyword “sequence”.
Plain Text: TREAT DIAGRAMS AS SINGLE UNITS
Key: SEQUENCE

S E Q U E N C E
1 2 3 4 5 6 7 8

Alphabetical Order of Key:

C E E E N Q S U
7 2 5 8 6 3 1 4

Since key is 8 character write plain text in length of 8 rows with X as padding bit.

T R E A T D I A
G R A M S A S S
I N G L E U N I
T S X X X X X X

Write down column wise in ascending order of KEY

7 2 5 8 6 3 1 4
T R E A T D I A
G R A M S A S S
I N G L E U N I
T S X X X X X X

Stage ONE Cipher Text: ISNX RRNS DAUX ASIX EAGX TSEX TGIT AMLX

Write Stage one Cipher Text in length of 8 rows

I S N X R R N S
D A U X A S I X
E A G X T S E X
T G I T A M L X

Write down column wise in ascending order of KEY

7 2 5 8 6 3 1 4
I S N X R R N S
D A U X A S I X
E A G X T S E X
T G I T A M L X

Stage TWO Cipher Text: NIEL SAAG RSSM SXXX NUGI RATA IDET XXXT
Encryption of the message “ACT” using Hill cipher with the following Key:
GYBNQKURP.

G Y B N Q K U R P
6 2 1 1 1 1 2 1 1
4 3 6 0 0 7 5

A C T
0 2 19

(0,2,19) 6 13 20 x
24 16 17
1 10 15

= (67,222,319) mod 26 = (15,14,7) = P,O,H

You might also like