SlideShare a Scribd company logo
1 of 18
Introduction to Crytographic Techniques
What is Cryptography?
- Cryptography is the science of keeping oral and written as well as other forms of
communications secret.
- Cryptography provides a means of authentication of communicating parties.
- Cryptography is the study of codes and ciphers for use in secret transmission of
messages from a sender to a recipient.
- Cryptology is composed of crytography - the art and science of keeping messages
secure.
- Cryptographic algorithms --> methods for transforming plaintext messages into
ciphertext.
- Secret key cryptography (or symmetrical)
- Public key cryptography (or asymmetrical)
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
In cryptographics, a message in human readable form is
referred to plaintext or cleartext.
Encryption:Encryption refers to a process which disguises a
cleartext message to hide its substance and generates a
message, known as ciphertext.Plaintext is denoted by P,
whereas ciphertext is denoted by C.
The encryption function E operates on P to produce C based
on a key value K:
E k (P) = C
Encryption and Decryption
Encryption
Key
Plaintex
t
Ciphtex
t
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
Encryption and Decryption
Decryption:
The reverse process of encryption is known as a decryption,
in which a cihhertext is converted back to its original cleartext form.
In the reverse process, the decryption function D operates on C to produce
P
based on a key value K:
D k (C) = P
Decryption
Key
Ciphertex
t
Plaintex
t
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
Simple Encryption System
Encryption
Encryption
Key(s)
Ciphertex
tPlaintex
t
Decryption
Decryption
Key(s)
Plainrtex
t
Cryptography is both the lock and the combination (or keys) that helps us protect
our
communication data and transformation messages.
There are varieties of locks, there are varieties of crytographic methods and keys.
Two limits of Encryption:
- it cannot protect data on a computer
- it can no better than the weakest link.
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
Different Types of Cryptography Methods
Transposition Ciphers:
In transposition ciphers, the letters of the message to be secretly transmitted are scrambled,
that is, rewritten in a pattern way, and is then sent in a different order from its original
form..
N O W - I S - T H E - T I M E
F O R - A L L - G O O D - M E
N - T O - C O M E - T O - T H
E - A I D - O F - T H E I R -
P A R T I E S - S T O P Z Z Z
would be transmitted as:
NFNEP OO - A WRTAR - OIT IA - DI SLC-E-LOOS T - ME - HE - S
EO - TT - OTHO TDOEP I - IZ MMTRZ EEH-Z
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
Different Types of Cryptography Methods
Transposition Ciphers:
In transposition ciphers, the letters of the message to be secretly transmitted are scrambled,
that is, rewritten in a pattern way, and is then sent in a different order from its original
form..
Key word: C O M P U T E R
Letter order: 1 4 3 5 8 7 2 6
M E E T M E A T
T H E F R O N T
D O O R O F T H
H I L T O N H O
T E L A T 9 P M
would be transmitted as:
MTDHT ANTHP EEOLL EHOIE TFRTA TTHOM EOFN9 MROOT
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
Different Types of Cryptography Methods
Substitution Ciphers:
Substitution ciphers are created by replacing one symbol, such as a letter of a
message,
with another symbol or letter in some patterned way.
Letโ€™s assume that we have a replacement letter pattern as follows:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
D E F G H I J K L M N O P Q R S T U V W X Y X A B C
Plaintext: NOW IS THE TIME FOR ALL GOOD PEOPLE TO COME TO THE
Ciphertext: KLT FP QEB QFJB CLO XII DLLA MBLMIB QL ZLIB QL QEB
More complex symbol replancement pattern can be applied.
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
Different Types of Cryptography Methods
Product Ciphers:
Product ciphers are created by using substitution and transposition together.
Current Data Encryption Standard (3DES) and Rijndael ( The Advanced Encryption
Standard. Winner) use multiple combinations of transposition and substitution to
achieve
superior cryptosecurity.
Although this approach become more complex and secure than the previous two,
they could be attacked using statistical methods.
Ideally, ciphertext could present itself as a random string of letters of bits or be data key-
stroked by a monkey.
Diffusion is defined as the dispersion or distribution of plaintext in a statistically
random
manner over the ciphertext.
The principle of confusion prevents the cryptanalyst from using the ciphertext to deduce
the secret key. It may take the form of a complex substitution method. Confusion hides
the relationship between ciphertext and the secret key.
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
Symmetric Encryption
Symmetric encryption (secret-key encryption, or single-key encryption):
Secret-key encryption refers to the use of a shared key for both encryption
by
the transmitter and decryption by the receiver.
Work step:
- Sender sends a message after encryption with a secret-key.
- Receiver decrypt the message with the same secret key after receiving it.
Inter
net
Anne
sends a
message
Bob
receives
Anneโ€™s
message
Encrypt
with a
secret key
Decrypt
with a
secret key
Encrypted
Message
Encrypted
Message
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
Symmetric Encryption
Special features of symmetric encryption:
- Two communication parties use and share the same key.
- Encryption and decryption is carried out based on the same key.
- Both parties must agree on the secret key before communications.
Advantages:
- Useful in many cases which only involves two-party
communications.
Problems and limitations:
- Complex in key distribution (key generation, transmission, and storage).
- Not scalable.
- Impractical to support large group of communications in networks.
- Impossible to support exchanging messages with a large group of previously
unknown parties over a public open network.
Example: DES (the Data Encryption Standard)
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
Asymmetric Encryption
Asymmetric encryption (public-key encryption):
Public-key encryption (asymmetric encryption) use a pair of keys for each party.
- One key is known as a โ€œpublic keyโ€, which is known to other parties.
- One key is known as a โ€œprivate keyโ€ or a โ€œsecret keyโ€, which must be confidential,
and is known only to its owner.
- The public key encrypts the message.
- The private key decrypts the message.
Inter
net
Anne
sends a
message
Bob
receives
Anneโ€™s
message
Encrypt
with a
public key
PK(Bob)
Decrypt
with Bobโ€™
private key
SK(Bob)
Scramble
d
Message
Scramble
d
Message
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
Asymmetric Encryption
Special features of asymmetric encryption (public-key encryption):
SK(PK(M)) = M
Advantages:
- Easy to key distribution (key generation, maintain and storage)
- Scalable to support large group of users in an public network
- Easy to support unknown users since no previous consent is needed.
- Better protection than symmetric encryption.
Problems and limitations:
- Slow performance
Applications: E-commerce, snoop-proof email system.
Standards: the best known public-key encryption algorithm --> RSA
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
, Sh
RSA Algorithm
The RSA algorithm was developed by Rivest, Shamir, and Adleman at MIT in 1978.
The basic algorithm is outlined below:
1: Choose two large distinct primes, p and q.
2: Compute the product (modulus) n = pq.
3: Randomly choose encryption key e, such that e and (p-1)(q-1) are relatively
prime.
4: Finally use Euclidโ€™s algorithm to compute the decryption key, d such that
e . d = 1 (mod (p-1) . (q -1)).
Where, d and n are relatively prime. e and n are the public key. d is the secret key.
To encrypt a message M, e
C = M mod n
To decrypt C,
d
M = C mod n
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
Comparing Symmetric Encryption and Asymmetric Encryption
Features Secret-Key Encryption Public-Key Encryption
No. of keys Single Key Public Key and Secret Key
Application Bulk data encryption Key exchange, digital signatures
Key Management Simple but difficult to Need digital certificates
manage and trusted third parties
Performance Fast Slower
Key exchange difficult and risk to Easy and less risky to deliver
transfer a secret key a public key.
Key Length 56-bit (old) 1024 bit (RSA)
126-bit (safe) Many used 2048 bits
Standards DES, Triple DES RSA, Diffie-Hellman
Rijndael DSA, Elliptic curves
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
Comparing Symmetric Encryption and Asymmetric Encryption
Features Secret-Key Encryption Public-Key Encryption
Years in use over 1000 years less than 50 years
Types of keys Secret Key only One Public Key and
one Private Key
Confidentiality Yes Yes
Authentication Yes Yes
Message integrity Yes Yes
No-repudiation No Yes
Donโ€™t need trustedDigital signatures:
third party need trusted third party
Attack Simple but difficult to Need digital certificates
manage and trusted third parties
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
Digital Signatures
What is a digital signature?
- Digital signatures are implemented using public-key encryption.
- A digital signature is a cryptographic mechanism that performs a similar function
to a written signature.
- Created using PPK cryptograph and message digests.
Encryption allows a message
sender the ability to digitally sign messages, thus creating a digital signature for the
message. When a message digest is computed and then encrypted using the senderโ€™s
private key, and later append to the message, the result is called the digital signature
of the message.
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
Digital Signatures
Purposes:
Digital signatures are used to ensure the integrity and authentication.
-- To verify the origin and contents of a message.
-- Digital signatures are used for sender authentication.
Why digital signatures?
- Public-key algorithms are computation-intensive. With large messages they may be
too expensive or too slow for the application.
- Digital signatures based on digested message provide alternative solutions.
Application:
Digital signatures can be used to endorse an electronic document in a
way that can be later validated for authenticity.
By:Shehrevar DavierwalaBy:Shehrevar Davierwala
Generating A Digital Signature
Message
MessageSignature
Message Digest
Encrypt
Hashing
Algorithm
Senderโ€™s
Private Key
(SK
sender)
To Receiver
By:Shehrevar DavierwalaBy:Shehrevar Davierwala

More Related Content

What's hot

Image Encryption in java ppt.
Image Encryption in java ppt.Image Encryption in java ppt.
Image Encryption in java ppt.Pradeep Vishwakarma
ย 
Network security - OSI Security Architecture
Network security - OSI Security ArchitectureNetwork security - OSI Security Architecture
Network security - OSI Security ArchitectureBharathiKrishna6
ย 
X.509 Certificates
X.509 CertificatesX.509 Certificates
X.509 CertificatesSou Jana
ย 
Cloud Security Mechanisms
Cloud Security MechanismsCloud Security Mechanisms
Cloud Security MechanismsMohammed Sajjad Ali
ย 
Digital Signature
Digital SignatureDigital Signature
Digital SignatureMohamed Talaat
ย 
Security Mechanisms
Security MechanismsSecurity Mechanisms
Security Mechanismspriya_trehan
ย 
Kerberos
KerberosKerberos
KerberosSutanu Paul
ย 
Policy formation and enforcement.ppt
Policy formation and enforcement.pptPolicy formation and enforcement.ppt
Policy formation and enforcement.pptImXaib
ย 
Key management
Key managementKey management
Key managementSujata Regoti
ย 
Web Security and SSL - Secure Socket Layer
Web Security and SSL - Secure Socket LayerWeb Security and SSL - Secure Socket Layer
Web Security and SSL - Secure Socket LayerAkhil Nadh PC
ย 
Encrypting E-mail Messages
Encrypting E-mail MessagesEncrypting E-mail Messages
Encrypting E-mail MessagesD's Surti
ย 
public key infrastructure
public key infrastructurepublic key infrastructure
public key infrastructurevimal kumar
ย 
Computer Network Security
Computer Network SecurityComputer Network Security
Computer Network SecuritySachithra Gayan
ย 
Web services security
Web services securityWeb services security
Web services securitynurmeen1
ย 
Pretty good privacy
Pretty good privacyPretty good privacy
Pretty good privacyPushkar Dutt
ย 

What's hot (20)

Image Encryption in java ppt.
Image Encryption in java ppt.Image Encryption in java ppt.
Image Encryption in java ppt.
ย 
Network security - OSI Security Architecture
Network security - OSI Security ArchitectureNetwork security - OSI Security Architecture
Network security - OSI Security Architecture
ย 
X.509 Certificates
X.509 CertificatesX.509 Certificates
X.509 Certificates
ย 
Web Security
Web SecurityWeb Security
Web Security
ย 
Cloud Security Mechanisms
Cloud Security MechanismsCloud Security Mechanisms
Cloud Security Mechanisms
ย 
Digital Signature
Digital SignatureDigital Signature
Digital Signature
ย 
Ipsec
IpsecIpsec
Ipsec
ย 
Ch11 Basic Cryptography
Ch11 Basic CryptographyCh11 Basic Cryptography
Ch11 Basic Cryptography
ย 
Security Mechanisms
Security MechanismsSecurity Mechanisms
Security Mechanisms
ย 
Kerberos
KerberosKerberos
Kerberos
ย 
Policy formation and enforcement.ppt
Policy formation and enforcement.pptPolicy formation and enforcement.ppt
Policy formation and enforcement.ppt
ย 
Key management
Key managementKey management
Key management
ย 
Web Security and SSL - Secure Socket Layer
Web Security and SSL - Secure Socket LayerWeb Security and SSL - Secure Socket Layer
Web Security and SSL - Secure Socket Layer
ย 
Web Security
Web SecurityWeb Security
Web Security
ย 
Encrypting E-mail Messages
Encrypting E-mail MessagesEncrypting E-mail Messages
Encrypting E-mail Messages
ย 
public key infrastructure
public key infrastructurepublic key infrastructure
public key infrastructure
ย 
Computer Network Security
Computer Network SecurityComputer Network Security
Computer Network Security
ย 
Kerberos
KerberosKerberos
Kerberos
ย 
Web services security
Web services securityWeb services security
Web services security
ย 
Pretty good privacy
Pretty good privacyPretty good privacy
Pretty good privacy
ย 

Viewers also liked (9)

C# chap 4
C# chap 4C# chap 4
C# chap 4
ย 
C# chap 2
C# chap 2C# chap 2
C# chap 2
ย 
C# programs
C# programsC# programs
C# programs
ย 
What is this
What is thisWhat is this
What is this
ย 
Wireless lan
Wireless lanWireless lan
Wireless lan
ย 
numbers system
numbers systemnumbers system
numbers system
ย 
Jstreams
JstreamsJstreams
Jstreams
ย 
Tech talk php_cms
Tech talk php_cmsTech talk php_cms
Tech talk php_cms
ย 
Tech talk webtech
Tech talk webtechTech talk webtech
Tech talk webtech
ย 

Similar to Is case study

Cryptography
Cryptography Cryptography
Cryptography pravin pandey
ย 
Cryptography - An Overview
Cryptography - An OverviewCryptography - An Overview
Cryptography - An Overviewppd1961
ย 
Encryption
EncryptionEncryption
EncryptionNaiyan Noor
ย 
Ch12 Encryption
Ch12 EncryptionCh12 Encryption
Ch12 Encryptionphanleson
ย 
Crypt
CryptCrypt
CryptMir Majid
ย 
Cryptography
CryptographyCryptography
Cryptographysubodh pawar
ย 
Cryptography
CryptographyCryptography
CryptographyVicky Kamboj
ย 
security system by desu star chapter 2 (1).pptx
security system by desu star chapter 2 (1).pptxsecurity system by desu star chapter 2 (1).pptx
security system by desu star chapter 2 (1).pptxdesalewminale
ย 
cryptography
cryptographycryptography
cryptographyswatihans
ย 
Cryptography
CryptographyCryptography
CryptographyRohan04
ย 
Cryptography - Overview
Cryptography - OverviewCryptography - Overview
Cryptography - OverviewMohammed Adam
ย 
Computer Security (Cryptography) Ch01
Computer Security (Cryptography) Ch01Computer Security (Cryptography) Ch01
Computer Security (Cryptography) Ch01Saif Kassim
ย 
Introduction To PKI Technology
Introduction To PKI TechnologyIntroduction To PKI Technology
Introduction To PKI TechnologySylvain Maret
ย 
Caesar cipher
Caesar cipherCaesar cipher
Caesar cipherTechnical Hub
ย 
Cryptography
CryptographyCryptography
CryptographyShray Jali
ย 
Network security and cryptography
Network security and cryptographyNetwork security and cryptography
Network security and cryptographyPavithra renu
ย 
What is Encryption
What is EncryptionWhat is Encryption
What is EncryptionIsrael Marcus
ย 
Cryptography
CryptographyCryptography
CryptographySandip kumar
ย 
CRYPTOGRAPHY-PAYAL CHOPRA.ppt
CRYPTOGRAPHY-PAYAL CHOPRA.pptCRYPTOGRAPHY-PAYAL CHOPRA.ppt
CRYPTOGRAPHY-PAYAL CHOPRA.pptPayalChopra9
ย 

Similar to Is case study (20)

Cryptography
Cryptography Cryptography
Cryptography
ย 
Cryptography - An Overview
Cryptography - An OverviewCryptography - An Overview
Cryptography - An Overview
ย 
Encryption
EncryptionEncryption
Encryption
ย 
Ch12 Encryption
Ch12 EncryptionCh12 Encryption
Ch12 Encryption
ย 
Crypt
CryptCrypt
Crypt
ย 
Cryptography
CryptographyCryptography
Cryptography
ย 
Cryptography
CryptographyCryptography
Cryptography
ย 
security system by desu star chapter 2 (1).pptx
security system by desu star chapter 2 (1).pptxsecurity system by desu star chapter 2 (1).pptx
security system by desu star chapter 2 (1).pptx
ย 
cryptography
cryptographycryptography
cryptography
ย 
Cryptography
CryptographyCryptography
Cryptography
ย 
Cryptography - Overview
Cryptography - OverviewCryptography - Overview
Cryptography - Overview
ย 
Computer Security (Cryptography) Ch01
Computer Security (Cryptography) Ch01Computer Security (Cryptography) Ch01
Computer Security (Cryptography) Ch01
ย 
Introduction To PKI Technology
Introduction To PKI TechnologyIntroduction To PKI Technology
Introduction To PKI Technology
ย 
Caesar cipher
Caesar cipherCaesar cipher
Caesar cipher
ย 
Cryptography
CryptographyCryptography
Cryptography
ย 
Network security and cryptography
Network security and cryptographyNetwork security and cryptography
Network security and cryptography
ย 
What is Encryption
What is EncryptionWhat is Encryption
What is Encryption
ย 
Cryptography
CryptographyCryptography
Cryptography
ย 
Cryptography
CryptographyCryptography
Cryptography
ย 
CRYPTOGRAPHY-PAYAL CHOPRA.ppt
CRYPTOGRAPHY-PAYAL CHOPRA.pptCRYPTOGRAPHY-PAYAL CHOPRA.ppt
CRYPTOGRAPHY-PAYAL CHOPRA.ppt
ย 

More from Shehrevar Davierwala

Java Script (Module 1).pptx
Java Script (Module 1).pptxJava Script (Module 1).pptx
Java Script (Module 1).pptxShehrevar Davierwala
ย 
Develop Website in Clicks
Develop Website in ClicksDevelop Website in Clicks
Develop Website in ClicksShehrevar Davierwala
ย 
Build Virtual Assistant Using AI
Build Virtual Assistant Using AI Build Virtual Assistant Using AI
Build Virtual Assistant Using AI Shehrevar Davierwala
ย 
Build brand reputation using facebook
Build brand reputation using facebookBuild brand reputation using facebook
Build brand reputation using facebookShehrevar Davierwala
ย 
Digital Marketing Session 2
Digital Marketing Session 2Digital Marketing Session 2
Digital Marketing Session 2Shehrevar Davierwala
ย 
Learn Digital Marketing : 0 to Hero Day 1
Learn Digital Marketing :  0 to Hero Day 1 Learn Digital Marketing :  0 to Hero Day 1
Learn Digital Marketing : 0 to Hero Day 1 Shehrevar Davierwala
ย 
Digital Marketing for Sustainable Business - Afghan Perspective
Digital Marketing for Sustainable Business - Afghan Perspective  Digital Marketing for Sustainable Business - Afghan Perspective
Digital Marketing for Sustainable Business - Afghan Perspective Shehrevar Davierwala
ย 
Developing stunning website in clicks - 2
Developing stunning website in clicks - 2Developing stunning website in clicks - 2
Developing stunning website in clicks - 2Shehrevar Davierwala
ย 
Developing stunning website in clicks
Developing stunning website in clicksDeveloping stunning website in clicks
Developing stunning website in clicksShehrevar Davierwala
ย 
Google forms for data analysis
Google forms for data analysisGoogle forms for data analysis
Google forms for data analysisShehrevar Davierwala
ย 

More from Shehrevar Davierwala (20)

Introduction_Swift
Introduction_SwiftIntroduction_Swift
Introduction_Swift
ย 
PsudoCode.pptx
PsudoCode.pptxPsudoCode.pptx
PsudoCode.pptx
ย 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
ย 
Java Script (Module 1).pptx
Java Script (Module 1).pptxJava Script (Module 1).pptx
Java Script (Module 1).pptx
ย 
Website in Clicks Day 2
Website in Clicks Day 2Website in Clicks Day 2
Website in Clicks Day 2
ย 
Develop Website in Clicks
Develop Website in ClicksDevelop Website in Clicks
Develop Website in Clicks
ย 
Build Virtual Assistant Using AI
Build Virtual Assistant Using AI Build Virtual Assistant Using AI
Build Virtual Assistant Using AI
ย 
Build brand reputation using facebook
Build brand reputation using facebookBuild brand reputation using facebook
Build brand reputation using facebook
ย 
Digital Marketing Session 2
Digital Marketing Session 2Digital Marketing Session 2
Digital Marketing Session 2
ย 
Learn Digital Marketing : 0 to Hero Day 1
Learn Digital Marketing :  0 to Hero Day 1 Learn Digital Marketing :  0 to Hero Day 1
Learn Digital Marketing : 0 to Hero Day 1
ย 
Standard template
Standard templateStandard template
Standard template
ย 
Digital Marketing for Sustainable Business - Afghan Perspective
Digital Marketing for Sustainable Business - Afghan Perspective  Digital Marketing for Sustainable Business - Afghan Perspective
Digital Marketing for Sustainable Business - Afghan Perspective
ย 
Developing stunning website in clicks - 2
Developing stunning website in clicks - 2Developing stunning website in clicks - 2
Developing stunning website in clicks - 2
ย 
Developing stunning website in clicks
Developing stunning website in clicksDeveloping stunning website in clicks
Developing stunning website in clicks
ย 
Google forms for data analysis
Google forms for data analysisGoogle forms for data analysis
Google forms for data analysis
ย 
Webdesign session1
Webdesign session1Webdesign session1
Webdesign session1
ย 
Ph pbasics
Ph pbasicsPh pbasics
Ph pbasics
ย 
Php mysql
Php mysqlPhp mysql
Php mysql
ย 
Java operators
Java operatorsJava operators
Java operators
ย 
Basic
BasicBasic
Basic
ย 

Recently uploaded

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
ย 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
ย 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
ย 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
ย 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
ย 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
ย 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
ย 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
ย 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
ย 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
ย 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
ย 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
ย 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
ย 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
ย 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
ย 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
ย 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
ย 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
ย 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
ย 

Recently uploaded (20)

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
ย 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
ย 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
ย 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
ย 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
ย 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
ย 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
ย 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
ย 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
ย 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
ย 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
ย 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
ย 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
ย 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
ย 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
ย 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
ย 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
ย 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
ย 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
ย 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
ย 

Is case study

  • 1. Introduction to Crytographic Techniques What is Cryptography? - Cryptography is the science of keeping oral and written as well as other forms of communications secret. - Cryptography provides a means of authentication of communicating parties. - Cryptography is the study of codes and ciphers for use in secret transmission of messages from a sender to a recipient. - Cryptology is composed of crytography - the art and science of keeping messages secure. - Cryptographic algorithms --> methods for transforming plaintext messages into ciphertext. - Secret key cryptography (or symmetrical) - Public key cryptography (or asymmetrical) By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 2. In cryptographics, a message in human readable form is referred to plaintext or cleartext. Encryption:Encryption refers to a process which disguises a cleartext message to hide its substance and generates a message, known as ciphertext.Plaintext is denoted by P, whereas ciphertext is denoted by C. The encryption function E operates on P to produce C based on a key value K: E k (P) = C Encryption and Decryption Encryption Key Plaintex t Ciphtex t By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 3. Encryption and Decryption Decryption: The reverse process of encryption is known as a decryption, in which a cihhertext is converted back to its original cleartext form. In the reverse process, the decryption function D operates on C to produce P based on a key value K: D k (C) = P Decryption Key Ciphertex t Plaintex t By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 4. Simple Encryption System Encryption Encryption Key(s) Ciphertex tPlaintex t Decryption Decryption Key(s) Plainrtex t Cryptography is both the lock and the combination (or keys) that helps us protect our communication data and transformation messages. There are varieties of locks, there are varieties of crytographic methods and keys. Two limits of Encryption: - it cannot protect data on a computer - it can no better than the weakest link. By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 5. Different Types of Cryptography Methods Transposition Ciphers: In transposition ciphers, the letters of the message to be secretly transmitted are scrambled, that is, rewritten in a pattern way, and is then sent in a different order from its original form.. N O W - I S - T H E - T I M E F O R - A L L - G O O D - M E N - T O - C O M E - T O - T H E - A I D - O F - T H E I R - P A R T I E S - S T O P Z Z Z would be transmitted as: NFNEP OO - A WRTAR - OIT IA - DI SLC-E-LOOS T - ME - HE - S EO - TT - OTHO TDOEP I - IZ MMTRZ EEH-Z By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 6. Different Types of Cryptography Methods Transposition Ciphers: In transposition ciphers, the letters of the message to be secretly transmitted are scrambled, that is, rewritten in a pattern way, and is then sent in a different order from its original form.. Key word: C O M P U T E R Letter order: 1 4 3 5 8 7 2 6 M E E T M E A T T H E F R O N T D O O R O F T H H I L T O N H O T E L A T 9 P M would be transmitted as: MTDHT ANTHP EEOLL EHOIE TFRTA TTHOM EOFN9 MROOT By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 7. Different Types of Cryptography Methods Substitution Ciphers: Substitution ciphers are created by replacing one symbol, such as a letter of a message, with another symbol or letter in some patterned way. Letโ€™s assume that we have a replacement letter pattern as follows: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z D E F G H I J K L M N O P Q R S T U V W X Y X A B C Plaintext: NOW IS THE TIME FOR ALL GOOD PEOPLE TO COME TO THE Ciphertext: KLT FP QEB QFJB CLO XII DLLA MBLMIB QL ZLIB QL QEB More complex symbol replancement pattern can be applied. By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 8. Different Types of Cryptography Methods Product Ciphers: Product ciphers are created by using substitution and transposition together. Current Data Encryption Standard (3DES) and Rijndael ( The Advanced Encryption Standard. Winner) use multiple combinations of transposition and substitution to achieve superior cryptosecurity. Although this approach become more complex and secure than the previous two, they could be attacked using statistical methods. Ideally, ciphertext could present itself as a random string of letters of bits or be data key- stroked by a monkey. Diffusion is defined as the dispersion or distribution of plaintext in a statistically random manner over the ciphertext. The principle of confusion prevents the cryptanalyst from using the ciphertext to deduce the secret key. It may take the form of a complex substitution method. Confusion hides the relationship between ciphertext and the secret key. By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 9. Symmetric Encryption Symmetric encryption (secret-key encryption, or single-key encryption): Secret-key encryption refers to the use of a shared key for both encryption by the transmitter and decryption by the receiver. Work step: - Sender sends a message after encryption with a secret-key. - Receiver decrypt the message with the same secret key after receiving it. Inter net Anne sends a message Bob receives Anneโ€™s message Encrypt with a secret key Decrypt with a secret key Encrypted Message Encrypted Message By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 10. Symmetric Encryption Special features of symmetric encryption: - Two communication parties use and share the same key. - Encryption and decryption is carried out based on the same key. - Both parties must agree on the secret key before communications. Advantages: - Useful in many cases which only involves two-party communications. Problems and limitations: - Complex in key distribution (key generation, transmission, and storage). - Not scalable. - Impractical to support large group of communications in networks. - Impossible to support exchanging messages with a large group of previously unknown parties over a public open network. Example: DES (the Data Encryption Standard) By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 11. Asymmetric Encryption Asymmetric encryption (public-key encryption): Public-key encryption (asymmetric encryption) use a pair of keys for each party. - One key is known as a โ€œpublic keyโ€, which is known to other parties. - One key is known as a โ€œprivate keyโ€ or a โ€œsecret keyโ€, which must be confidential, and is known only to its owner. - The public key encrypts the message. - The private key decrypts the message. Inter net Anne sends a message Bob receives Anneโ€™s message Encrypt with a public key PK(Bob) Decrypt with Bobโ€™ private key SK(Bob) Scramble d Message Scramble d Message By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 12. Asymmetric Encryption Special features of asymmetric encryption (public-key encryption): SK(PK(M)) = M Advantages: - Easy to key distribution (key generation, maintain and storage) - Scalable to support large group of users in an public network - Easy to support unknown users since no previous consent is needed. - Better protection than symmetric encryption. Problems and limitations: - Slow performance Applications: E-commerce, snoop-proof email system. Standards: the best known public-key encryption algorithm --> RSA By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 13. , Sh RSA Algorithm The RSA algorithm was developed by Rivest, Shamir, and Adleman at MIT in 1978. The basic algorithm is outlined below: 1: Choose two large distinct primes, p and q. 2: Compute the product (modulus) n = pq. 3: Randomly choose encryption key e, such that e and (p-1)(q-1) are relatively prime. 4: Finally use Euclidโ€™s algorithm to compute the decryption key, d such that e . d = 1 (mod (p-1) . (q -1)). Where, d and n are relatively prime. e and n are the public key. d is the secret key. To encrypt a message M, e C = M mod n To decrypt C, d M = C mod n By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 14. Comparing Symmetric Encryption and Asymmetric Encryption Features Secret-Key Encryption Public-Key Encryption No. of keys Single Key Public Key and Secret Key Application Bulk data encryption Key exchange, digital signatures Key Management Simple but difficult to Need digital certificates manage and trusted third parties Performance Fast Slower Key exchange difficult and risk to Easy and less risky to deliver transfer a secret key a public key. Key Length 56-bit (old) 1024 bit (RSA) 126-bit (safe) Many used 2048 bits Standards DES, Triple DES RSA, Diffie-Hellman Rijndael DSA, Elliptic curves By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 15. Comparing Symmetric Encryption and Asymmetric Encryption Features Secret-Key Encryption Public-Key Encryption Years in use over 1000 years less than 50 years Types of keys Secret Key only One Public Key and one Private Key Confidentiality Yes Yes Authentication Yes Yes Message integrity Yes Yes No-repudiation No Yes Donโ€™t need trustedDigital signatures: third party need trusted third party Attack Simple but difficult to Need digital certificates manage and trusted third parties By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 16. Digital Signatures What is a digital signature? - Digital signatures are implemented using public-key encryption. - A digital signature is a cryptographic mechanism that performs a similar function to a written signature. - Created using PPK cryptograph and message digests. Encryption allows a message sender the ability to digitally sign messages, thus creating a digital signature for the message. When a message digest is computed and then encrypted using the senderโ€™s private key, and later append to the message, the result is called the digital signature of the message. By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 17. Digital Signatures Purposes: Digital signatures are used to ensure the integrity and authentication. -- To verify the origin and contents of a message. -- Digital signatures are used for sender authentication. Why digital signatures? - Public-key algorithms are computation-intensive. With large messages they may be too expensive or too slow for the application. - Digital signatures based on digested message provide alternative solutions. Application: Digital signatures can be used to endorse an electronic document in a way that can be later validated for authenticity. By:Shehrevar DavierwalaBy:Shehrevar Davierwala
  • 18. Generating A Digital Signature Message MessageSignature Message Digest Encrypt Hashing Algorithm Senderโ€™s Private Key (SK sender) To Receiver By:Shehrevar DavierwalaBy:Shehrevar Davierwala