Assignment CT 1
Assignment CT 1
: CS
KPR Institute of Engineering and Technology
(Autonomous)
Avinashi Road, Arasur, Coimbatore - 641 407
Ac.Yr. : 2023 – 2024
6 8 CO2
Use the Euclidean algorithm to find the greatest common divisor (gcd)
of the following pairs of numbers:
7 a = 96, b = 15, 4 CO3
a = 75 and b = 45
Page 1 of 6
Use a railfence cipher with 3 rails – removing the rails from top to
3 bottom – to encrypt the message alan turing the enigma. 2 CO1
4 8 CO1
Page 2 of 6
ASSIGNMENT II - SET 4 Deadline: 06/03/2024
Decrypt the ciphertext “EQNVZ” with key numbers (23, 12, 2,10, 11)
2 using vernam cipher method. 2 CO1
Using hill cipher encrypt the Plaintext: GFG using the Key:
4 HILLMAGIC. 8 CO1
Calculate the result of the following if the polynomials are over GF (2):
5 (x 4 + x 2 + x + 1) + (x 3 + 1) 8 CO2
(x 4 + x 2 + x + 1) × (x 3 + 1)
find the ciphertext for the following message “go at morning”, use
2 vigenère method, with key “chair”. 2 CO1
Page 3 of 6
alphabetical order of letters in the keyword. If there are repeated letters
in the keyword, the columns corresponding to those letters are
transcribed in order left-to-right. Encrypt the message WE ARE
DISCOVERED SAVE YOURSELF with key word AUTHOR
4 Using hill cipher encrypt plain text “COE” use key “ANOTHERBZ” 8 CO1
With polynomial coefficients drawn from GF (2), let us use the
irreducible polynomial x 3 + x + 1 to construct the finite field GF (2 3).
5 Now calculate 8 CO2
(x 2 + x + 1) + (x 2 + 1) =? and (x 2 + x + 1) × (x 2 + 1) =?
Using Fermat’s Little Theorem, Find the result of (i) 6 10 mod 11 (ii)
8 312mod 11.
4 CO3
4 Encrypt the Plaintext: ACT with Key: GYBNQKURP using Hill cipher. 8 CO1
Given the following two 3-bit binary code words from GF (2 3) with the
modulus polynomial x 3 + x + 1:
5 B1 = 1 1 1 8 CO2
B2 = 1 0 1
Now calculate: B1 + B2 =? and B1 × B2 =?
Page 4 of 6
Using the Euclidean algorithm, find the greatest common divisor of the
following pairs of integers.
6 a. 88 and 220 8 CO2
b. 300 and 42
8 4 CO3
Using one time pad (Vernam) method, find message (plaintext) for the
3 following ciphertext “QTEZFCWNFGGGJ”, use key numbers (23, 75, 2 CO1
52, 64, 12, 82, 5, 31, 44, 90, 39, 28, 17).
4 8 CO1
Page 5 of 6
Page 6 of 6