Docsity

Cryptography Exercise Solutions, Exams of Cryptography and System Security

Toggle sidebar
bg1
1)
a)
b)
c)
d)
e)
2)
3)
4)
5)
6)
7)
VIT AP
Introduction to Cryptography [CSE1007 - 381]
Marks: 50 Duration: 90 mins.
A
Answer all the questions.
How many number of keys are required for a set of n individuals to be able to
communicate with each other using secret key and public key crypto-systems.
(1)
A post office sells only 3$ and 6$ stamps. Find the number of stamps a customer
needs to buy to put 15$ postages on a package. Find few solutions.
(1)
Jove wants to use an algebraic structure Group for his security algorithm. Suggest
7*, *> will be a solution or not for Jove's security algorithm.
(1)
Define the type of attack in the following case: Somehow EVE has stolen the ATM
card and PIN of Alice and withdrawn money from the Alice's account.
(1)
Suggest a security mechanism/service for avoiding the attack in question part (d). (1)
Professor want to send a question paper securely to the examination coordinator.
For that, professor encrypts the file using affine cipher. Anyhow student captured
the file and get to know that the file is encrypted using AFFINE Cipher and key is
(11, 4). If captured file name is "GEFD", then tell which subject paper has been
leaked.
(5)
Cryptography requires sets of integers and specific operations that are defined for
those sets. Two communicating parties require a cyclic Group and its generators
for their encryption/decryption algorithms. Help them to identify whether they can
use (Z18*, *) if yes then find out the generators.
(5)
In cryptography often we require to compute remainders of powers of integers
when divided by an integer (XY mod C). Unfortunately, XY becomes very large for
even modest sized values of Y. Joseph needs to compute 19 41 modulo 21 to get
the security key for her encryption algorithm. Help out Joseph to get the required
value.
(5)
B
Answer all the questions.
Alice communicates some secret message to John. Attacker EVE exist in the
network and capturing the communications, anyhow EVE gets to know that the
security algorithm in use is playfair cipher and key is "CRYPTOGRAPHY". If
captured ciphertext is "XFQBFQHELQBCFMDCABVFLVZBLD" then find out actual
plaintext decrypted by EVE.
(10)
Commodore forwards a message "Attack tomorrow at seven am" to the captain by
using most recent transposition cipher (combining two approaches) with the key [3
1 5 4 2]. Find the Ciphertext and the Decryption key, and decrypt the ciphertext to
get the plaintext back. Note: If require use x as filler letter.
(10)
Entity A wants to send a message "SECURITY" confidentially to the another entity
B using Hill cipher. Show your calculations and the results for computing the
ciphertext. Also show the calculations for the decryption of the ciphertext at
receiver side to recover the original plaintext. Considered key value is given below.
Note: If require use x as filler letter.
(10)
-----End-----

Partial preview of the text

Download Cryptography Exercise Solutions and more Exams Cryptography and System Security in PDF only on Docsity!

a) b) c) d) e)

VIT AP

Introduction to Cryptography [CSE1007 - 381] Marks: 50 Duration: 90 mins. A Answer all the questions. How many number of keys are required for a set of n individuals to be able to communicate with each other using secret key and public key crypto-systems.

A post office sells only 3$ and 6$ stamps. Find the number of stamps a customer needs to buy to put 15$ postages on a package. Find few solutions.

Jove wants to use an algebraic structure Group for his security algorithm. Suggest 7 *, *> will be a solution or not for Jove's security algorithm.

Define the type of attack in the following case: Somehow EVE has stolen the ATM card and PIN of Alice and withdrawn money from the Alice's account.

Suggest a security mechanism/service for avoiding the attack in question part (d). (1) Professor want to send a question paper securely to the examination coordinator. For that, professor encrypts the file using affine cipher. Anyhow student captured the file and get to know that the file is encrypted using AFFINE Cipher and key is (11, 4). If captured file name is "GEFD", then tell which subject paper has been leaked.

Cryptography requires sets of integers and specific operations that are defined for those sets. Two communicating parties require a cyclic Group and its generators for their encryption/decryption algorithms. Help them to identify whether they can use (Z 18 *, *) if yes then find out the generators.

In cryptography often we require to compute remainders of powers of integers when divided by an integer (XY^ mod C). Unfortunately, XY^ becomes very large for even modest sized values of Y. Joseph needs to compute 19 41 modulo 21 to get the security key for her encryption algorithm. Help out Joseph to get the required value.

B

Answer all the questions. Alice communicates some secret message to John. Attacker EVE exist in the network and capturing the communications, anyhow EVE gets to know that the security algorithm in use is playfair cipher and key is "CRYPTOGRAPHY". If captured ciphertext is "XFQBFQHELQBCFMDCABVFLVZBLD" then find out actual plaintext decrypted by EVE.

Commodore forwards a message "Attack tomorrow at seven am" to the captain by using most recent transposition cipher (combining two approaches) with the key [ 1 5 4 2]. Find the Ciphertext and the Decryption key, and decrypt the ciphertext to get the plaintext back. Note: If require use x as filler letter.

Entity A wants to send a message "SECURITY" confidentially to the another entity B using Hill cipher. Show your calculations and the results for computing the ciphertext. Also show the calculations for the decryption of the ciphertext at receiver side to recover the original plaintext. Considered key value is given below. Note: If require use x as filler letter.

-----End-----