SlideShare a Scribd company logo
1 of 158
CLASSICAL
ENCRYPTIO
N
TECHNIQUE
S
Module 1
Symmetric Encryption
• Also referred to as conventional encryption or
single-key encryption
• Was the only type of encryption in use prior to
the development of public-key encryption in
the 1970s
• Remains by far the most widely used of the
two types of encryption
Basic Terminology
• Plaintext
• The original message
• Ciphertext
• The coded message
• Enciphering or encryption
• Process of converting from
plaintext to ciphertext
• Deciphering or decryption
• Restoring the plaintext
from the ciphertext
• Cryptography
• Study of encryption
• Cryptographic system or
cipher
• Schemes used for
encryption
• Cryptanalysis
• Techniques used for
deciphering a message
without any knowledge of
the enciphering details
• Cryptology
• Areas of cryptography and
cryptanalysis together
Simplified Model of
Symmetric Encryption
• There are two requirements for secure use of conventional
encryption:
1. We need a strong encryption algorithm. At a minimum, we
would like the algorithm to be such that an opponent who
knows the algorithm and has access to one or more ciphertexts
would be unable to decipher the ciphertext or figure out the
key. This requirement is usually stated in a stronger form: The
opponent should be unable to decrypt ciphertext or discover
the key even if he or she is in control of a number of ciphertexts
together with the plaintext that produced each ciphertext.
2. Sender and receiver must have obtained copies of the secret
key in a secure fashion and must keep the key secure. If
someone can discover the key and knows the algorithm, all
communication using this key is readable.
Model of Symmetric
Cryptosystem
• We assume that it is impractical to decrypt a message on the basis of the ciphertext plus
knowledge of the encryption/decryption algorithm.
• Let us take a closer look at the essential elements of a symmetric encryption scheme, using
Figure 2.2.
• A source produces a message in plaintext, X = [X1, X2, ..., XM]. The M elements of X are letters
in some finite alphabet.
• Traditionally, the alphabet usually consisted of the 26 capital letters. Nowadays, the binary
alphabet {0, 1} is typically used.
• For encryption, a key of the form K = [K1, K2, ..., KJ] is generated. If the key is generated at the
message source, then it must also be provided to the destination by means of some secure
channel.
• Alternatively, a third party could generate the key and securely deliver it to both source and
destination.
• With the message X and the encryption key K
as input, the encryption algorithm forms the
ciphertext Y = [Y1, Y2, ..., YN]. We can write this
as Y = E(K, X)
Cryptography
Cryptographic Systems
• Characterized along three independent dimensions:
The type of operations
used for transforming
plaintext to ciphertext
Substitution
Transposition
The number of keys
used
Symmetric,
single-key, secret-
key, conventional
encryption
Asymmetric, two-
key, or public-key
encryption
The way in which the
plaintext is processed
Block cipher
Stream cipher
Cryptanalysis and
Brute-Force Attack
Cryptanalysis
• Attack relies on the nature of the
algorithm plus some knowledge of the
general characteristics of the plaintext
• Attack exploits the characteristics of
the algorithm to attempt to deduce a
specific plaintext or to deduce the key
being used
Brute-force attack
• Attacker tries every possible key on
a piece of ciphertext until an
intelligible translation into plaintext
is obtained
• On average, half of all possible keys
must be tried to achieve success
Encryption Scheme Security
• Unconditionally secure
• No matter how much time an opponent has, it
is impossible for him or her to decrypt the
ciphertext simply because the required
information is not there
• Computationally secure
• The cost of breaking the cipher exceeds the
value of the encrypted information
• The time required to break the cipher
exceeds the useful lifetime of the
information
Brute-Force Attack
Involves trying every possible key until an intelligible
translation of the ciphertext into plaintext is obtained
On average, half of all possible keys must be tried to
achieve success
To supplement the brute-force approach, some
degree of knowledge about the expected plaintext
is needed, and some means of automatically
distinguishing plaintext from garble is also needed
Substitution Technique
• Is one in which the letters of plaintext are
replaced by other letters or by numbers or
symbols
• If the plaintext is viewed as a sequence of bits,
then substitution involves replacing plaintext
bit patterns with ciphertext bit patterns
Caesar Cipher
• Simplest and earliest known use of a substitution
cipher
• Used by Julius Caesar
• Involves replacing each letter of the alphabet with
the letter standing three places further down the
alphabet
• Alphabet is wrapped around so that the letter
following Z is A
plain: meet me after the toga party
cipher: PHHW PH DIWHU WKH WRJD SDUWB
Caesar Cipher Algorithm
• Can define transformation as:
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 Z A B C
• Mathematically give each letter a number
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
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
• Algorithm can be expressed as:
c = E(3, p) = (p + 3) mod (26)
• A shift may be of any amount, so that the general Caesar algorithm is:
C = E(k , p ) = (p + k ) mod 26
• Where k takes on a value in the range 1 to 25; the decryption algorithm is
simply:
p = D(k , C ) = (C - k ) mod 26
Brute-Force
Cryptanalysis of
Caesar Cipher
1. The encryption and
decryption algorithms are
known
2. There are only 25 keys to
try
3. The language of the
plaintext is known and
easily recognizable.
Sample of Compressed Text
Monoalphabetic Cipher
• A monoalphabetic cipher is any cipher in which the
letters of the plain text are mapped to cipher text
letters based on a single alphabetic key.
• Examples of monoalphabetic ciphers would include the
Caesar-shift cipher, where each letter is shifted based
on a numeric key, and the atbash cipher, where each
letter is mapped to the letter symmetric to it about the
center of the alphabet.
Monoalphabetic Cipher
• Permutation
• Of a finite set of elements S is an ordered sequence of all
the elements of S , with each element appearing exactly
once
• If the “cipher” line can be any permutation of the
26 alphabetic characters, then there are 26! or
greater than 4 x 1026 possible keys
• This is 10 orders of magnitude greater than the key space
for DES
• Approach is referred to as a monoalphabetic substitution
cipher because a single cipher alphabet is used per
message
Monoalphabetic Ciphers
• Easy to break because they reflect the frequency
data of the original alphabet
• Countermeasure is to provide multiple substitutes
(homophones) for a single letter
• Digram
• Two-letter combination
• Most common is th
• Trigram
• Three-letter combination
• Most frequent is the
Playfair Cipher
• Best-known multiple-letter encryption cipher
• Treats digrams in the plaintext as single units and
translates these units into ciphertext digrams
• Based on the use of a 5 x 5 matrix of letters
constructed using a keyword
• Invented by British scientist Sir Charles
Wheatstone in 1854
• Used as the standard field system by the British
Army in World War I and the U.S. Army and other
Allied forces during World War II
Playfair Key Matrix
• Fill in letters of keyword (minus duplicates)
from left to right and from top to bottom,
then fill in the remainder of the matrix with the
remaining letters in alphabetic order
• Using the keyword MONARCHY:
M O N A R
C H Y B D
E F G I/J K
L P Q S T
U V W X Z
Hill Cipher
• Developed by the mathematician Lester Hill in
1929
• Strength is that it completely hides single-
letter frequencies
• The use of a larger matrix hides more frequency
information
• A 3 x 3 Hill cipher hides not only single-letter but
also two-letter frequency information
• Strong against a ciphertext-only attack but
easily broken with a known plaintext attack
Hill Cipher
Polyalphabetic Ciphers
Vernam Cipher
One-Time Pad
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx
Module-1.pptx

More Related Content

Similar to Module-1.pptx

overview of cryptographic techniques
overview of cryptographic techniquesoverview of cryptographic techniques
overview of cryptographic techniquesShubham Jain
 
EncryptionTechChap2.ppt
EncryptionTechChap2.pptEncryptionTechChap2.ppt
EncryptionTechChap2.pptrajirajesh8
 
Information security (Symmetric encryption, cryptography, crypto-analysis)
Information security (Symmetric encryption, cryptography, crypto-analysis)Information security (Symmetric encryption, cryptography, crypto-analysis)
Information security (Symmetric encryption, cryptography, crypto-analysis)Zara Nawaz
 
7-cryptography.ppt
7-cryptography.ppt7-cryptography.ppt
7-cryptography.pptGhamdan5
 
the art of the fking dum crypto_basic.ppt
the art of the fking dum crypto_basic.pptthe art of the fking dum crypto_basic.ppt
the art of the fking dum crypto_basic.pptjamkhan10
 
This is the presentation ofcryptography.ppt
This is the presentation ofcryptography.pptThis is the presentation ofcryptography.ppt
This is the presentation ofcryptography.pptvimalguptaofficial
 
Crytography CertCourse Module 1 & 2.ppt
Crytography CertCourse Module 1 & 2.pptCrytography CertCourse Module 1 & 2.ppt
Crytography CertCourse Module 1 & 2.pptMuhammadShajid1
 
Best book for the cryptography doctor.ppt
Best book for the cryptography doctor.pptBest book for the cryptography doctor.ppt
Best book for the cryptography doctor.pptnicolausalex722
 
detailed presentation on cryptography analysis
detailed presentation on cryptography analysisdetailed presentation on cryptography analysis
detailed presentation on cryptography analysisBARATH800940
 
7-cryptography.pptfffffffffffffffffffffffffffffffffff
7-cryptography.pptfffffffffffffffffffffffffffffffffff7-cryptography.pptfffffffffffffffffffffffffffffffffff
7-cryptography.pptfffffffffffffffffffffffffffffffffffmaninthemirrorrror
 
Cryptography & Steganography
Cryptography & SteganographyCryptography & Steganography
Cryptography & SteganographyAnimesh Shaw
 
Cryptography and network security Nit701
Cryptography and network security Nit701Cryptography and network security Nit701
Cryptography and network security Nit701Amit Pathak
 
Cryptography and steganography lesson and discription.pptx
Cryptography and steganography lesson and discription.pptxCryptography and steganography lesson and discription.pptx
Cryptography and steganography lesson and discription.pptxRobertCarreonBula
 
Symmetric Cipher Model, Substitution techniques, Transposition techniques, St...
Symmetric Cipher Model, Substitution techniques, Transposition techniques, St...Symmetric Cipher Model, Substitution techniques, Transposition techniques, St...
Symmetric Cipher Model, Substitution techniques, Transposition techniques, St...JAINAM KAPADIYA
 
security Symmetric Key Cryptography Substitution Cipher, Transposition Cipher.
security Symmetric Key Cryptography Substitution Cipher, Transposition Cipher.security Symmetric Key Cryptography Substitution Cipher, Transposition Cipher.
security Symmetric Key Cryptography Substitution Cipher, Transposition Cipher.nagwaAboElenein
 

Similar to Module-1.pptx (20)

overview of cryptographic techniques
overview of cryptographic techniquesoverview of cryptographic techniques
overview of cryptographic techniques
 
cryptography.ppt
cryptography.pptcryptography.ppt
cryptography.ppt
 
EncryptionTechChap2.ppt
EncryptionTechChap2.pptEncryptionTechChap2.ppt
EncryptionTechChap2.ppt
 
Information security (Symmetric encryption, cryptography, crypto-analysis)
Information security (Symmetric encryption, cryptography, crypto-analysis)Information security (Symmetric encryption, cryptography, crypto-analysis)
Information security (Symmetric encryption, cryptography, crypto-analysis)
 
7-cryptography.ppt
7-cryptography.ppt7-cryptography.ppt
7-cryptography.ppt
 
7-cryptography.ppt
7-cryptography.ppt7-cryptography.ppt
7-cryptography.ppt
 
7-cryptography.ppt
7-cryptography.ppt7-cryptography.ppt
7-cryptography.ppt
 
the art of the fking dum crypto_basic.ppt
the art of the fking dum crypto_basic.pptthe art of the fking dum crypto_basic.ppt
the art of the fking dum crypto_basic.ppt
 
This is the presentation ofcryptography.ppt
This is the presentation ofcryptography.pptThis is the presentation ofcryptography.ppt
This is the presentation ofcryptography.ppt
 
7 cryptography
7 cryptography7 cryptography
7 cryptography
 
Crytography CertCourse Module 1 & 2.ppt
Crytography CertCourse Module 1 & 2.pptCrytography CertCourse Module 1 & 2.ppt
Crytography CertCourse Module 1 & 2.ppt
 
Best book for the cryptography doctor.ppt
Best book for the cryptography doctor.pptBest book for the cryptography doctor.ppt
Best book for the cryptography doctor.ppt
 
detailed presentation on cryptography analysis
detailed presentation on cryptography analysisdetailed presentation on cryptography analysis
detailed presentation on cryptography analysis
 
7-cryptography.pptfffffffffffffffffffffffffffffffffff
7-cryptography.pptfffffffffffffffffffffffffffffffffff7-cryptography.pptfffffffffffffffffffffffffffffffffff
7-cryptography.pptfffffffffffffffffffffffffffffffffff
 
RSA.ppt
RSA.pptRSA.ppt
RSA.ppt
 
Cryptography & Steganography
Cryptography & SteganographyCryptography & Steganography
Cryptography & Steganography
 
Cryptography and network security Nit701
Cryptography and network security Nit701Cryptography and network security Nit701
Cryptography and network security Nit701
 
Cryptography and steganography lesson and discription.pptx
Cryptography and steganography lesson and discription.pptxCryptography and steganography lesson and discription.pptx
Cryptography and steganography lesson and discription.pptx
 
Symmetric Cipher Model, Substitution techniques, Transposition techniques, St...
Symmetric Cipher Model, Substitution techniques, Transposition techniques, St...Symmetric Cipher Model, Substitution techniques, Transposition techniques, St...
Symmetric Cipher Model, Substitution techniques, Transposition techniques, St...
 
security Symmetric Key Cryptography Substitution Cipher, Transposition Cipher.
security Symmetric Key Cryptography Substitution Cipher, Transposition Cipher.security Symmetric Key Cryptography Substitution Cipher, Transposition Cipher.
security Symmetric Key Cryptography Substitution Cipher, Transposition Cipher.
 

More from krishnakumararunacha5

More from krishnakumararunacha5 (8)

chap1cpp3rd.ppt
chap1cpp3rd.pptchap1cpp3rd.ppt
chap1cpp3rd.ppt
 
ch4.ppt
ch4.pptch4.ppt
ch4.ppt
 
BDACh01L01BigData_Characteristics_Types_Classifications.ppt.pdf
BDACh01L01BigData_Characteristics_Types_Classifications.ppt.pdfBDACh01L01BigData_Characteristics_Types_Classifications.ppt.pdf
BDACh01L01BigData_Characteristics_Types_Classifications.ppt.pdf
 
BDACh01L04Data sources_Quality_pre-processing.ppt.pdf
BDACh01L04Data sources_Quality_pre-processing.ppt.pdfBDACh01L04Data sources_Quality_pre-processing.ppt.pdf
BDACh01L04Data sources_Quality_pre-processing.ppt.pdf
 
BDACh02L01Hadoop.pdf
BDACh02L01Hadoop.pdfBDACh02L01Hadoop.pdf
BDACh02L01Hadoop.pdf
 
ASHISH 1AH19CS012 DC3IA.pdf
ASHISH 1AH19CS012 DC3IA.pdfASHISH 1AH19CS012 DC3IA.pdf
ASHISH 1AH19CS012 DC3IA.pdf
 
Abdul Haseeb 19cs001(3rd dc test).pdf
Abdul Haseeb 19cs001(3rd dc test).pdfAbdul Haseeb 19cs001(3rd dc test).pdf
Abdul Haseeb 19cs001(3rd dc test).pdf
 
3-IA DC (1AH19CS018).pdf
3-IA DC (1AH19CS018).pdf3-IA DC (1AH19CS018).pdf
3-IA DC (1AH19CS018).pdf
 

Recently uploaded

Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 

Recently uploaded (20)

Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 

Module-1.pptx

  • 2. Symmetric Encryption • Also referred to as conventional encryption or single-key encryption • Was the only type of encryption in use prior to the development of public-key encryption in the 1970s • Remains by far the most widely used of the two types of encryption
  • 3. Basic Terminology • Plaintext • The original message • Ciphertext • The coded message • Enciphering or encryption • Process of converting from plaintext to ciphertext • Deciphering or decryption • Restoring the plaintext from the ciphertext • Cryptography • Study of encryption • Cryptographic system or cipher • Schemes used for encryption • Cryptanalysis • Techniques used for deciphering a message without any knowledge of the enciphering details • Cryptology • Areas of cryptography and cryptanalysis together
  • 5.
  • 6. • There are two requirements for secure use of conventional encryption: 1. We need a strong encryption algorithm. At a minimum, we would like the algorithm to be such that an opponent who knows the algorithm and has access to one or more ciphertexts would be unable to decipher the ciphertext or figure out the key. This requirement is usually stated in a stronger form: The opponent should be unable to decrypt ciphertext or discover the key even if he or she is in control of a number of ciphertexts together with the plaintext that produced each ciphertext. 2. Sender and receiver must have obtained copies of the secret key in a secure fashion and must keep the key secure. If someone can discover the key and knows the algorithm, all communication using this key is readable.
  • 8. • We assume that it is impractical to decrypt a message on the basis of the ciphertext plus knowledge of the encryption/decryption algorithm. • Let us take a closer look at the essential elements of a symmetric encryption scheme, using Figure 2.2. • A source produces a message in plaintext, X = [X1, X2, ..., XM]. The M elements of X are letters in some finite alphabet. • Traditionally, the alphabet usually consisted of the 26 capital letters. Nowadays, the binary alphabet {0, 1} is typically used. • For encryption, a key of the form K = [K1, K2, ..., KJ] is generated. If the key is generated at the message source, then it must also be provided to the destination by means of some secure channel. • Alternatively, a third party could generate the key and securely deliver it to both source and destination.
  • 9. • With the message X and the encryption key K as input, the encryption algorithm forms the ciphertext Y = [Y1, Y2, ..., YN]. We can write this as Y = E(K, X)
  • 11. Cryptographic Systems • Characterized along three independent dimensions: The type of operations used for transforming plaintext to ciphertext Substitution Transposition The number of keys used Symmetric, single-key, secret- key, conventional encryption Asymmetric, two- key, or public-key encryption The way in which the plaintext is processed Block cipher Stream cipher
  • 12. Cryptanalysis and Brute-Force Attack Cryptanalysis • Attack relies on the nature of the algorithm plus some knowledge of the general characteristics of the plaintext • Attack exploits the characteristics of the algorithm to attempt to deduce a specific plaintext or to deduce the key being used Brute-force attack • Attacker tries every possible key on a piece of ciphertext until an intelligible translation into plaintext is obtained • On average, half of all possible keys must be tried to achieve success
  • 13.
  • 14. Encryption Scheme Security • Unconditionally secure • No matter how much time an opponent has, it is impossible for him or her to decrypt the ciphertext simply because the required information is not there • Computationally secure • The cost of breaking the cipher exceeds the value of the encrypted information • The time required to break the cipher exceeds the useful lifetime of the information
  • 15. Brute-Force Attack Involves trying every possible key until an intelligible translation of the ciphertext into plaintext is obtained On average, half of all possible keys must be tried to achieve success To supplement the brute-force approach, some degree of knowledge about the expected plaintext is needed, and some means of automatically distinguishing plaintext from garble is also needed
  • 16. Substitution Technique • Is one in which the letters of plaintext are replaced by other letters or by numbers or symbols • If the plaintext is viewed as a sequence of bits, then substitution involves replacing plaintext bit patterns with ciphertext bit patterns
  • 17.
  • 18. Caesar Cipher • Simplest and earliest known use of a substitution cipher • Used by Julius Caesar • Involves replacing each letter of the alphabet with the letter standing three places further down the alphabet • Alphabet is wrapped around so that the letter following Z is A plain: meet me after the toga party cipher: PHHW PH DIWHU WKH WRJD SDUWB
  • 19. Caesar Cipher Algorithm • Can define transformation as: 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 Z A B C • Mathematically give each letter a number 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 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 • Algorithm can be expressed as: c = E(3, p) = (p + 3) mod (26) • A shift may be of any amount, so that the general Caesar algorithm is: C = E(k , p ) = (p + k ) mod 26 • Where k takes on a value in the range 1 to 25; the decryption algorithm is simply: p = D(k , C ) = (C - k ) mod 26
  • 20. Brute-Force Cryptanalysis of Caesar Cipher 1. The encryption and decryption algorithms are known 2. There are only 25 keys to try 3. The language of the plaintext is known and easily recognizable.
  • 22. Monoalphabetic Cipher • A monoalphabetic cipher is any cipher in which the letters of the plain text are mapped to cipher text letters based on a single alphabetic key. • Examples of monoalphabetic ciphers would include the Caesar-shift cipher, where each letter is shifted based on a numeric key, and the atbash cipher, where each letter is mapped to the letter symmetric to it about the center of the alphabet.
  • 23. Monoalphabetic Cipher • Permutation • Of a finite set of elements S is an ordered sequence of all the elements of S , with each element appearing exactly once • If the “cipher” line can be any permutation of the 26 alphabetic characters, then there are 26! or greater than 4 x 1026 possible keys • This is 10 orders of magnitude greater than the key space for DES • Approach is referred to as a monoalphabetic substitution cipher because a single cipher alphabet is used per message
  • 24.
  • 25.
  • 26.
  • 27. Monoalphabetic Ciphers • Easy to break because they reflect the frequency data of the original alphabet • Countermeasure is to provide multiple substitutes (homophones) for a single letter • Digram • Two-letter combination • Most common is th • Trigram • Three-letter combination • Most frequent is the
  • 28. Playfair Cipher • Best-known multiple-letter encryption cipher • Treats digrams in the plaintext as single units and translates these units into ciphertext digrams • Based on the use of a 5 x 5 matrix of letters constructed using a keyword • Invented by British scientist Sir Charles Wheatstone in 1854 • Used as the standard field system by the British Army in World War I and the U.S. Army and other Allied forces during World War II
  • 29. Playfair Key Matrix • Fill in letters of keyword (minus duplicates) from left to right and from top to bottom, then fill in the remainder of the matrix with the remaining letters in alphabetic order • Using the keyword MONARCHY: M O N A R C H Y B D E F G I/J K L P Q S T U V W X Z
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53. Hill Cipher • Developed by the mathematician Lester Hill in 1929 • Strength is that it completely hides single- letter frequencies • The use of a larger matrix hides more frequency information • A 3 x 3 Hill cipher hides not only single-letter but also two-letter frequency information • Strong against a ciphertext-only attack but easily broken with a known plaintext attack
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
  • 74.
  • 75.
  • 76.
  • 77.
  • 78.
  • 79.
  • 80.
  • 81.
  • 82.
  • 83.
  • 84.
  • 85.
  • 86.
  • 87.
  • 88.
  • 89.
  • 90.
  • 91.
  • 93.
  • 94.
  • 95.
  • 96.
  • 97.
  • 98.
  • 99.
  • 100.
  • 101.
  • 102.