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

Message authentication
Message authenticationMessage authentication
Message authenticationCAS
 
Pgp pretty good privacy
Pgp pretty good privacyPgp pretty good privacy
Pgp pretty good privacyPawan Arya
 
Symmetric & Asymmetric Cryptography
Symmetric & Asymmetric CryptographySymmetric & Asymmetric Cryptography
Symmetric & Asymmetric Cryptographychauhankapil
 
Transport Layer Security (TLS)
Transport Layer Security (TLS)Transport Layer Security (TLS)
Transport Layer Security (TLS)Arun Shukla
 
Conventional Encryption NS2
Conventional Encryption NS2Conventional Encryption NS2
Conventional Encryption NS2koolkampus
 
Cryptographic Hashing Functions
Cryptographic Hashing FunctionsCryptographic Hashing Functions
Cryptographic Hashing FunctionsYusuf Uzun
 
Cryptography and network security
Cryptography and network securityCryptography and network security
Cryptography and network securityshraddha mane
 
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
 
Introduction To PKI Technology
Introduction To PKI TechnologyIntroduction To PKI Technology
Introduction To PKI TechnologySylvain Maret
 
Lecture01: Introduction to Security and Privacy in Cloud Computing
Lecture01: Introduction to Security and Privacy in Cloud ComputingLecture01: Introduction to Security and Privacy in Cloud Computing
Lecture01: Introduction to Security and Privacy in Cloud Computingragibhasan
 
Message Authentication Code & HMAC
Message Authentication Code & HMACMessage Authentication Code & HMAC
Message Authentication Code & HMACKrishna Gehlot
 

What's hot (20)

Message authentication
Message authenticationMessage authentication
Message authentication
 
Pgp pretty good privacy
Pgp pretty good privacyPgp pretty good privacy
Pgp pretty good privacy
 
Cloud Encryption
Cloud EncryptionCloud Encryption
Cloud Encryption
 
HTTPS
HTTPSHTTPS
HTTPS
 
Symmetric & Asymmetric Cryptography
Symmetric & Asymmetric CryptographySymmetric & Asymmetric Cryptography
Symmetric & Asymmetric Cryptography
 
Transport Layer Security (TLS)
Transport Layer Security (TLS)Transport Layer Security (TLS)
Transport Layer Security (TLS)
 
Conventional Encryption NS2
Conventional Encryption NS2Conventional Encryption NS2
Conventional Encryption NS2
 
IP Security
IP SecurityIP Security
IP Security
 
Cryptographic Hashing Functions
Cryptographic Hashing FunctionsCryptographic Hashing Functions
Cryptographic Hashing Functions
 
Key management
Key managementKey management
Key management
 
Cryptography.ppt
Cryptography.pptCryptography.ppt
Cryptography.ppt
 
Cryptography and network security
Cryptography and network securityCryptography and network security
Cryptography and network security
 
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
 
Introduction To PKI Technology
Introduction To PKI TechnologyIntroduction To PKI Technology
Introduction To PKI Technology
 
Email security
Email securityEmail security
Email security
 
CRYPTOGRAPHY AND NETWORK SECURITY- E-Mail Security
CRYPTOGRAPHY AND NETWORK SECURITY- E-Mail SecurityCRYPTOGRAPHY AND NETWORK SECURITY- E-Mail Security
CRYPTOGRAPHY AND NETWORK SECURITY- E-Mail Security
 
Lecture01: Introduction to Security and Privacy in Cloud Computing
Lecture01: Introduction to Security and Privacy in Cloud ComputingLecture01: Introduction to Security and Privacy in Cloud Computing
Lecture01: Introduction to Security and Privacy in Cloud Computing
 
Message Authentication Code & HMAC
Message Authentication Code & HMACMessage Authentication Code & HMAC
Message Authentication Code & HMAC
 
Email security
Email securityEmail security
Email security
 
Cryptography
CryptographyCryptography
Cryptography
 

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 - An Overview
Cryptography - An OverviewCryptography - An Overview
Cryptography - An Overviewppd1961
 
Ch12 Encryption
Ch12 EncryptionCh12 Encryption
Ch12 Encryptionphanleson
 
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
 
Network security and cryptography
Network security and cryptographyNetwork security and cryptography
Network security and cryptographyPavithra renu
 
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
 
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
 
Data encryption
Data encryptionData encryption
Data encryption
 

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

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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
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
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
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
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
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
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
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
 

Recently uploaded (20)

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.
 
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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
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
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
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
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
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
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
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
 

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