(SEM VII) THEORY EXAMINATION 2023-24 CRYPTOGRAPHY AND NETWORK SECURITY

B.Tech General 0 downloads
₹29.00

SECTION A (2 × 10 = 20 Marks)

Attempt all questions (Short Answers)

 

a) Steganography

Steganography is the technique of hiding secret information inside another file (image, audio, video, text) so that the existence of the message is concealed.
Example: Hiding a secret text message inside an image file using LSB (Least Significant Bit) method.

 

b) Cryptanalysis

Cryptanalysis is the process of breaking cryptographic systems to obtain the plaintext or secret key without knowing the key.
It is used to evaluate the strength of encryption algorithms.

 

c) GCD using Euclid’s Algorithm

Compute GCD (24120, 1640)                        24120 = 1640 × 14 + 1160
1640 = 1160 × 1 + 480                                   1160 = 480 × 2 + 200
480 = 200 × 2 + 80                                         200 = 80 × 2 + 40
80 = 40 × 2 + 0

 

GCD = 40

d) Primitive Roots of 13                                   Since 13 is prime, φ(13) = 12
Primitive roots modulo 13 are:

2, 6, 7, 11

 

e) Birthday Attack

A birthday attack exploits the probability of hash collisions.
It states that collisions are likely when about √n values are tried for an n-bit hash.

 

f) Services of Digital Signature                            Authentication

Integrity                                                               Non-repudiation

 

g) X.509 Certificate

An X.509 certificate is a digital certificate used to verify the identity of a user, device, or server using a public key.

 

h) Services of Pretty Good Privacy (PGP)

Any four:                                                            Authentication

Confidentiality                                                   Compression

Email compatibility                                            Digital signature

 

i) Intrusion Detection

Intrusion Detection is the process of monitoring network/system activities to detect unauthorized access or attacks.

 

j) Firewall

A firewall is a network security system that monitors and controls incoming and outgoing traffic based on security rules.
Usage: Prevents unauthorized access to networks.

 

 SECTION B (Attempt Any Three – 10 Marks Each)

 

a) DES (Data Encryption Standard)

DES is a symmetric block cipher that encrypts 64-bit plaintext using a 56-bit key.

 

Working Steps:

Initial Permutation (IP)                                       16 rounds of Feistel structure

Expansion                                                           XOR with subkey

Substitution (S-box)                                           Permutation

Final Permutation (FP)

 

Diagram:
Plaintext → IP → 16 Rounds → FP → Ciphertext

b) RSA Algorithm (Numerical)

Given:                                                                   p = 17, q = 11
n = p × q = 187                                                    φ(n) = (16)(10) = 160
e = 7, d = 23

Public Key: (e, n) = (7, 187)                                  Private Key: (d, n) = (23, 187)

Plaintext M = 77

Encryption:                                                         C = M⁷ mod 187 = 11

Decryption:                                                         M = C²³ mod 187 = 77

 

c) Digital Signature & DSA

A digital signature ensures authentication, integrity, and non-repudiation.

Signing Process:                                                 Hash the message

Encrypt hash using private key                             Attach signature with message

 

Verification Process:

Decrypt signature using public key                      Compare hashes

DSA uses modular arithmetic and SHA for signing and verification.

 

d) Diffie–Hellman Key Exchange

Used to securely exchange keys over an insecure channel.

Steps:                                                                   Public values: p, g

Private keys: a, b                                                   Shared key: gᵃᵇ mod p

Advantage: No prior shared key required.

 

e) Secure Electronic Transaction (SET)

SET is used to secure online credit card transactions.

 

Entities:
Cardholder, Merchant, Bank

Provides confidentiality and authentication using digital certificates.

 

SECTION C (Attempt Any One – 10 Marks)

 

a) Cryptography & Its Types

Cryptography is the science of secure communication.

Types:

Symmetric Key Cryptography (DES, AES)                     Asymmetric Key Cryptography (RSA)

Hash Functions (SHA)

 

b) Block Cipher & Modes

A block cipher encrypts data in fixed-size blocks.

Modes:

ECB – Simple but insecure                                         CBC – More secure, uses IV

 

SECTION D (Attempt Any One – 10 Marks)

a) Fermat’s Little Theorem

If p is prime and gcd(a,p)=1, then
aᵖ⁻¹ ≡ 1 (mod p)

Given:                                                                         Find a ≡ 97⁹⁴ mod 73
Using Fermat theorem → a = 24


b) Chinese Remainder Theorem

X ≡ 2 (mod 3)                                                             X ≡ 3 (mod 5)

File Size
143.63 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

Web Development Classes Near Noida Sector 103 – Complete Guide to Start Your Tech Career Noida
High Profit Margin Business Opportunities Near Sector 109 Gurugram (Dwarka Expressway) Gurugram
Spoken English Classes Near By Moti Nagar Improve Fluency, Build Confidence & Unlock Better Career Opportunities in 2026 Motinagar, Delhi
🇫🇷 French Language Classes Near Sector 112 Noida – Learn French with Expert Trainers Noida
Guitar Classes Near By Kalkaji Learn Guitar from Experts & Turn Your Musical Passion into a Lifelong Skill Kalkaji, Delhi
Violin Classes Near DLF Phase 5 – Learn Classical & Modern Violin from Expert Teachers DLF Phase V, Gurugram
Meditation Coaching Near By Nangloi – Find Inner Peace & Mental Clarity Nangloi, Delhi
Public Speaking Training Near Sector 108 Noida – Build Confidence and Communication Skills Noida
Spoken English Classes Near Central Park 1 – Improve Confidence and Communication Skills Central Park 2, Gurugram
Guitar Classes Near DLF Phase 1 – Learn Guitar from Expert Teachers DLF Phase I, Gurugram
TOEFL Coaching Near Noida Sector 104 – Complete Preparation Guide for Study Abroad Sector 104, Noida
No Office Rent Business Setup Near Kirti Nagar Start & Grow Your Business Without Paying High Office Rent Kirti Nagar, Delhi
Competitive Exam Coaching Near Dwarka Mor Complete Preparation for Government & Entrance Exams with Expert Guidance Dwarka Mor, Delhi
Yoga Classes Near Hauz Khas Experience Holistic Wellness, Strength & Inner Balance in 2026 Hauz Khas, Delhi
Harmonium Classes Near Sushant Lok Phase 1 – Learn Classical Music with Confidence Sushant Lok Phase 1, Gurugram
IELTS Coaching Near Noida Sector 107 – Expert Training for High Band Scores Noida
Spoken English Classes Near By Tagore Garden Improve Fluency, Build Confidence & Unlock Better Career Opportunities in 2026 Tagore Garden, Delhi
Keyboard / Piano Classes Near DLF Phase 3 Gurugram – Professional Music Training for Kids, Beginners & Advanced Learners DLF Phase 3, Gurugram
App Development Course Near Sector 60 Gurugram – Build Android & iOS Apps with Industry Experts Gurugram
Cake Decoration Classes Near By Dwarka Mor – Master the Art of Creative Cake Designing Dwarka Mor, Delhi
⭐ 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