CS6701 - CNS - Two Marks - Answer
CS6701 - CNS - Two Marks - Answer
CS6701 - CNS - Two Marks - Answer
OF TECHNOLOGY
DEPARTMENT OF INFORMATION TECHNOLOGY
CS6701- Cryptography & Network Security
First Assessment Test – Two Marks – Question & Answer
Plain Text a b c d e f g h i
Cipher Text F G H I J K L M N
Plain Text J k l m n o p q r
Cipher Text O P Q R S T U V W
Plain Text s t u v w x y z -
Cipher Text X Y Z A B C D E -
Plain Text a b c d e f g h i
Cipher Text D E F G H I J K L
Plain Text J k l m n o p q r
Cipher Text M N O P Q R S T U
Plain Text s t u v w x y z -
Cipher Text V W X Y Z A B C -
11. What is Abelian Group? List the axioms should obey for Abelian Group.
Let (G, *) be a group. If a, b belongs to G and a * b = b * a, then the group is
said to be Abelian or commutative group. The following axioms are obeyed for
Abelian Group.
(A1) Closure
(A2) Associative
(A3) Identity element
(A4) Inverse element and
(A5) Commutative
aΦ(n)≡ 1 (mod n)
Where ϕ(n) is a totient function
ap-1 ≡ 1 (mod p)
Euclid(a, b)
while b != 0
r a mod b
a b
b r
end while
return a
18. Write down the difference between Stream Cipher and Block Cipher.
Stream cipher is one that encrypts a digital data stream one bit or one byte at a
time. The stream cipher techniques are Caesar cipher, Playfair cipher, etc.
Block cipher is one in which a block of plain text is treated as a whole and to
produce a cipher text block of equal length. Typically, a block size of 64 or 128 bits
is used. The block cipher techniques are DES, AES and Triple DES.