THEORY EXAMINATION (SEM–VI) 2016-17 CRYPTOGRAPHY & NETWORK SECURITY

B.Tech Engineering 0 downloads
₹29.00

CRYPTOGRAPHY & NETWORK SECURITY – ECS029

B.Tech (SEM VI) | Section-wise Solved Answers


SECTION – A

(Explain the following – 2 marks each)


(a) Weakness of DES

DES uses a 56-bit key, which is now too small and vulnerable to brute-force attacks. Advances in computing power have made DES insecure for modern applications.


(b) Cryptanalysis

Cryptanalysis is the study of techniques used to break cryptographic systems by analyzing weaknesses in algorithms, keys, or implementations.


(c) Difference between RSA and Diffie–Hellman

RSA is used for encryption and digital signatures, while Diffie–Hellman is used only for secure key exchange. RSA is based on factorization, whereas Diffie–Hellman relies on discrete logarithms.


(d) Euler’s Totient Function

Euler’s Totient Function φ(n) gives the number of positive integers less than n that are relatively prime to n. It is widely used in RSA algorithm.


(e) Benefits provided by MAC

Message Authentication Code ensures data integrity and authentication by verifying that the message has not been altered and comes from a legitimate sender.

 

(f) Firewall

A firewall is a security device that monitors and controls incoming and outgoing network traffic based on predefined security rules.


(g) Requirements of security

Security requires confidentiality, integrity, authentication, authorization, and non-repudiation to protect data and communication.

 

(h) Shannon’s confusion and diffusion

Confusion hides the relationship between key and ciphertext, while diffusion spreads plaintext structure over ciphertext to resist statistical attacks.


(i) Monoalphabetic cipher

A monoalphabetic cipher replaces each plaintext letter with a fixed ciphertext letter throughout the message.


(j) Euclidean theorem

The Euclidean theorem provides a method to compute the greatest common divisor (GCD) of two integers using repeated division.


SECTION – B

(Attempt any five – explained properly)


(a) Differences between Kerberos Version 4 and 5

Kerberos V5 supports stronger encryption, flexible authentication, better error handling, and cross-realm authentication compared to Version 4.


(b) Monoalphabetic Cipher vs Caesar Cipher

Caesar cipher is a special case of monoalphabetic cipher with a fixed shift. Monoalphabetic cipher allows random substitution, making it slightly stronger.


(c) Transposition Cipher

In transposition cipher, letters are rearranged without changing them.
Example:
Plaintext: ATTACK
Ciphertext: ATCTKA (based on a fixed pattern)


(d) Hill Cipher

Hill cipher uses matrix multiplication for encryption.
For message “AT” and key matrix

K=[5334]K = \begin{bmatrix}5 & 3 \\ 3 & 4\end{bmatrix}K=[53​34​]

The ciphertext is obtained by multiplying plaintext vector with key matrix modulo 26.


(e) IP Security Architecture

IPSec provides secure communication at IP layer using Authentication Header (AH) and Encapsulating Security Payload (ESP) for integrity and confidentiality.


(f) Euclidean Algorithm

Using Euclidean Algorithm:
GCD(1970, 1066) = 2
It is obtained through successive division.


(g) Fermat’s Theorem

Fermat’s Little Theorem states:
If p is prime and gcd(a,p)=1, then

ap−1≡1 (mod p)a^{p-1} \equiv 1 \ (\text{mod } p)ap−1≡1 (mod p)

Using this,

3201mod  11=13^{201} \mod 11 = 13201mod11=1 


(h) Requirements of MAC

MAC must be secure, resistant to forgery, efficient to compute, and must depend on both message and secret key.


SECTION – C

(Attempt any two – long answers)


(3) Short Notes

(i) Secure Electronic Transaction (SET)
SET is a protocol designed to secure online credit card transactions using encryption and digital certificates.

(ii) Firewalls
Firewalls filter traffic, prevent unauthorized access, and protect internal networks.

(iii) Intrusion Detection System (IDS)
IDS monitors network traffic and system activities to detect malicious behavior.


(4) RSA Key Generation Steps

Select two large prime numbers p and q

Compute n = p × q

Compute φ(n)

Choose e such that gcd(e, φ(n)) = 1

Compute private key d

Public key = (e, n), Private key = (d, n)


(5) AES Structure, Strengths & Weaknesses

AES uses substitution, permutation, mixing, and key addition stages.
Strengths: Strong security, efficient, resistant to attacks
Weaknesses: Implementation complexity, side-channel attack risks

File Size
109.92 KB
Uploader
SuGanta International
⭐ Elite Educators Network

Meet Our Exceptional Teachers

Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication

KISHAN KUMAR DUBEY

KISHAN KUMAR DUBEY

Sant Ravidas Nagar Bhadohi, Uttar Pradesh , Babusarai Market , 221314
5 Years
Years
₹10000+
Monthly
₹201-300
Per Hour

This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduati...

Swethavyas bakka

Swethavyas bakka

Hyderabad, Telangana , 500044
10 Years
Years
₹10000+
Monthly
₹501-600
Per Hour

I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and interm...

Vijaya Lakshmi

Vijaya Lakshmi

Hyderabad, Telangana , New Nallakunta , 500044
30+ Years
Years
₹9001-10000
Monthly
₹501-600
Per Hour

I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapu...

Shifna sherin F

Shifna sherin F

Gudalur, Tamilnadu , Gudalur , 643212
5 Years
Years
₹6001-7000
Monthly
₹401-500
Per Hour

Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the righ...

Divyank Gautam

Divyank Gautam

Pune, Maharashtra , Kothrud , 411052
3 Years
Years
Not Specified
Monthly
Not Specified
Per Hour

An IIT graduate having 8 years of experience teaching Maths. Passionate to understand student proble...

Explore Tutors In Your Location

Discover expert tutors in popular areas across India

Painting Classes Near Sector 67A Gurugram – Explore Creativity & Master Artistic Expression Sector 67A, Gurugram
Spoken English Classes Near By CR Park Improve Fluency, Boost Confidence & Unlock Better Opportunities in 2026 Chittaranjan Park, Delhi
Singing / Vocal Training Near DLF Phase 2 – Professional Voice Training for All Age Groups DLF Phase 2, Gurugram
Voice-Over Training Near Sector 139 Noida – Learn Professional Voice Acting & Recording Skills Noida
Study Abroad Consultation Classes Near Dwarka Mor Complete Guidance for International Education Dwarka Mor, Delhi
Candle Making Classes Near Sector 83 Gurugram – Learn the Art of Handmade Candles Gurugram
Personality Development Classes Near Sector 56 Gurugram – Build Confidence, Communication & Professional Success Sector 56, Gurugram
Web Development Classes Near Noida Sector 101 – Learn Coding and Build Your Tech Career Noida
Vedic Maths Classes Near Sector 99A Dwarka Expressway, Gurugram – Boost Speed, Accuracy & Mental Calculation Skills Sector 99A, Gurugram
🇪🇸 Spanish Language Classes Near Sector 111 Noida – Learn Spanish with Professional Trainers Noida
Yoga Classes Near Sector 138 Greater Noida – Improve Health, Mind & Lifestyle Through Professional Yoga Training Noida
Science Classes Near Sector 88A Gurugram – Build Strong Concepts for a Bright Future Sector 88A, Gurugram
Legal Documentation Assistance Near By Dwarka Mor Reliable, Accurate & Professional Legal Drafting Dwarka Mor, Delhi
German Language Classes Near Golf Course Road – Learn German for Career & Study Abroad Golf Course Road, Gurugram
Yoga Classes Near Saket Transform Your Mind, Body & Lifestyle with Professional Yoga Training in 2026 Saket, Delhi
Accounts & Commerce Classes Near By Dwarka Mor Professional Coaching Dwarka Mor, Delhi
Personal Fitness Training Near Sector 134 Greater Noida – Achieve Your Fitness Goals with Expert Guidance Sector 134, Noida
Competitive Exam Coaching Near Sector 95 Gurugram – Structured Preparation for Government & Entrance Exams Sector 95, Gurugram
Coding Classes for Kids Near Sector 65 Gurugram – Build Future Tech Leaders from an Early Age Sector 65, Gurugram
🇫🇷 French Language Classes Near Rosewood City – Learn French for Global Opportunities Rosewood, Gurugram
⭐ Premium Institute Network

Discover Elite Educational Institutes

Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies

Réussi Academy of languages

sugandha mishra

Réussi Academy of languages
Madhya pradesh, Indore, G...

Details

Coaching Center
Private
Est. 2021-Present

Sugandha Mishra is the Founder Director of Réussi Academy of Languages, a premie...

IGS Institute

Pranav Shivhare

IGS Institute
Uttar Pradesh, Noida, Sec...

Details

Coaching Center
Private
Est. 2011-2020

Institute For Government Services

Krishna home tutor

Krishna Home tutor

Krishna home tutor
New Delhi, New Delhi, 110...

Details

School
Private
Est. 2001-2010

Krishna home tutor provide tutors for all subjects & classes since 2001

Edustunt Tuition Centre

Lakhwinder Singh

Edustunt Tuition Centre
Punjab, Hoshiarpur, 14453...

Details

Coaching Center
Private
Est. 2021-Present
Great success tuition & tutor

Ginni Sahdev

Great success tuition & tutor
Delhi, Delhi, Raja park,...

Details

Coaching Center
Private
Est. 2011-2020