SlideShare ist ein Scribd-Unternehmen logo
1 von 68
Downloaden Sie, um offline zu lesen
Classical Encryption Techniques
Block Ciphers and the Data
Encryption Standard
Classical Encryption Techniques
Stream Ciphers and Block Ciphers
Data Encryption Standard
DES Algorithm
DES Key Creation
DES Encryption
The Strength Of DES
Classical Encryption Techniques
Stream Ciphers and Block Ciphers
Data Encryption Standard
DES Algorithm
DES Key Creation
DES Encryption
The Strength Of DES
Classical Encryption Techniques
 Stream cipher is one that encrypts a digital data stream one bit or
one byte at a time.
 Block cipher is one in which a block of plaintext is treated as a
whole and used to produce a ciphertext block of equal length.
Classical Encryption Techniques
Classical Encryption Techniques
Classical Encryption Techniques
Stream Ciphers and Block Ciphers
Data Encryption Standard
DES Algorithm
DES Key Creation
DES Encryption
The Strength Of DES
Classical Encryption Techniques
 Data Encryption Standard is a symmetric-key algorithm for the
encryption of electronic data.
 Developed in the early 1970s at IBM and based on an earlier
design by Horst Feistel.
 DES was issued in 1977 by the National Bureau of Standards, now
the National Institute of Standards and Technology (NIST), as
Federal Information Processing Standard 46
Classical Encryption Techniques
 DES, data are encrypted in 64-bit blocks using a 56 bits (+8 parity
bits) key.
 The algorithm transforms 64-bit input in a series of steps into a 64-
bit output.
 The same steps, with the same key, are used to reverse the
encryption.
Classical Encryption Techniques
 DES uses "keys" where are also apparently 16 hexadecimal
numbers long, or apparently 64 bits long. However, every 8th key
bit is ignored in the DES algorithm, so that the effective key size is
56 bits.
Classical Encryption Techniques
Stream Ciphers and Block Ciphers
Data Encryption Standard
DES Algorithm
DES Key Creation
DES Encryption
The Strength Of DES
Classical Encryption Techniques
Initial permutation
Round 1
Round 2
Round 16
32 bit Swap
Inverse initial permutation
64-bit Plain text
64-bit Cipher text
Permuted choice 1
Left Circular Shift
Left Circular Shift
Left Circular Shift
64-bit Key
Permuted choice 2
Permuted choice 2
Permuted choice 2
56 bit
56 bit
56 bit
56 bit
56 bit
56 bit
48 bit
48 bit
48 bit
K1
K2
K16
64 bit
64 bit
64 bit
64 bit
64 bit
Classical Encryption Techniques
Stream Ciphers and Block Ciphers
Data Encryption Standard
DES Algorithm
DES Key Creation
DES Encryption
The Strength Of DES
Classical Encryption Techniques
Initial permutation
Round 1
Round 2
Round 16
32 bit Swap
Inverse initial permutation
64-bit Plain text
64-bit Cipher text
Permuted choice 1
Left Circular Shift
Left Circular Shift
Left Circular Shift
64-bit Key
Permuted choice 2
Permuted choice 2
Permuted choice 2
56 bit
56 bit
56 bit
56 bit
56 bit
56 bit
48 bit
48 bit
48 bit
K1
K2
K16
64 bit
64 bit
64 bit
64 bit
64 bit
Classical Encryption Techniques
Key (56 bits)
Left Right
PC-2
16-Keys (48 bits)
Key (64 bits)
PC-1
Shift (generate 16 keys)
Concatenate
Classical Encryption Techniques
Key (56 bits)
Left Right
PC-2
16-Keys (48 bits)
Key (64 bits)
PC-1
Shift (generate 16 keys)
Concatenate
Classical Encryption Techniques
 Let K be the hexadecimal key K = 133457799BBCDFF1
 K (binary) = 00010011 00110100 01010111 01111001
10011011 10111100 11011111 11110001
 K=64bit
 The DES algorithm uses the following steps:
Classical Encryption Techniques
Key (56 bits)
Left Right
PC-2
16-Keys (48 bits)
Key (64 bits)
PC-1
Shift (generate 16 keys)
Concatenate
Classical Encryption Techniques
1) Step 1: Apply permutation choice -1 (PC-1)
 The 64-bit key is permuted according to the following table, PC-1
Classical Encryption Techniques
 K = 00010011 00110100 01010111 01111001 10011011
10111100 11011111 11110001
 we get the 56-bit permutation
 Kp = 1111000 0110011 0010101 0101111 0101010 1011001
1001111 0001111
Classical Encryption Techniques
Key (56 bits)
Left Right
PC-2
16-Keys (48 bits)
Key (64 bits)
PC-1
Shift (generate 16 keys)
Concatenate
Classical Encryption Techniques
2) Split Kp key into left and right halves
 Kp = 1111000 0110011 0010101 0101111 0101010 1011001
1001111 0001111
 KL = 1111000 0110011 0010101 0101111
 KR = 0101010 1011001 1001111 0001111
Classical Encryption Techniques
Key (56 bits)
Left Right
PC-2
16-Keys (48 bits)
Key (64 bits)
PC-1
Shift (generate 16 keys)
Concatenate
Classical Encryption Techniques
2) Apply Shifts (Left) as describe on table
 KL = 1111000 0110011 0010101 0101111
 KR = 0101010 1011001 1001111 0001111
 KL1 =Shift(KL)= 1110000110011001010101011111
 KR1 =Shift(KR)= 1010101011001100111100011110
 KL2 =Shift(KL1)= 1100001100110010101010111111
 KR2 =Shift(KR1)= 0101010110011001111000111101
 KL3 =Shift(KL2)= 0000110011001010101011111111
 KR3 =Shift(KR2)= 0101011001100111100011110101
Classical Encryption Techniques
2) Apply Shifts (Left) as describe on table
 KL4 = 0011001100101010101111111100
 KR4 = 0101100110011110001111010101
 KL5 = 1100110010101010111111110000
 KR5 = 0110011001111000111101010101
 KL6 = 001100101010101111111100001
 KR6 = 1001100111100011110101010101
 KL7 = 1100101010101111111100001100
 KR7 = 0110011110001111010101010110
Classical Encryption Techniques
2) Apply Shifts (Left) as describe on table
 KL8 = 0010101010111111110000110011
 KR8 = 1001111000111101010101011001
 KL9 = 0101010101111111100001100110
 KR9 = 0011110001111010101010110011
 KL10 = 0101010111111110000110011001
 KR10 = 1111000111101010101011001100
 KL11 = 0101011111111000011001100101
 KR11 = 1100011110101010101100110011
Classical Encryption Techniques
2) Apply Shifts (Left) as describe on table
 KL12 = 0101111111100001100110010101
 KR12 = 0001111010101010110011001111
 KL13 = 0111111110000110011001010101
 KR13 = 0111101010101011001100111100
 KL14 = 1111111000011001100101010101
 KR14 = 1110101010101100110011110001
 KL15 = 1111100001100110010101010111
 KR15 = 1010101010110011001111000111
Classical Encryption Techniques
2) Apply Shifts (Left) as describe on table
 KL16 = 1111000011001100101010101111
 KR16 = 0101010101100110011110001111
Classical Encryption Techniques
Key (56 bits)
Left Right
PC-2
16-Keys (48 bits)
Key (64 bits)
PC-1
Shift (generate 16 keys)
Concatenate
Classical Encryption Techniques
3) Concatenate KL and KR
 K1=1110000 1100110 0101010 1011111 1010101 0110011 0011110 0011110
4) Apply PC-2 to all 16 keys
 we get the 48-bit permutation for each key
 K1=000110 110000 001011 101111 111111 000111 000001 110010
Classical Encryption Techniques
Key (56 bits)
Left Right
PC-2
16-Keys (48 bits)
Key (64 bits)
PC-1
Shift (generate 16 keys)
Concatenate
Classical Encryption Techniques
 K1 = 000110 110000 001011 101111 111111 000111 000001 110010
 K2 = 011110 011010 111011 011001 110110 111100 100111 100101
 K3 = 010101 011111 110010 001010 010000 101100 111110 011001
 K4 = 011100 101010 110111 010110 110110 110011 010100 011101
 K5 = 011111 001110 110000 000111 111010 110101 001110 101000
 K6 = 011000 111010 010100 111110 010100 000111 101100 101111
 K7 = 111011 001000 010010 110111 111101 100001 100010 111100
 K8 = 111101 111000 101000 111010 110000 010011 101111 111011
 K9 = 111000 001101 101111 101011 111011 011110 011110 000001
 K10 = 101100 011111 001101 000111 101110 100100 011001 001111
Classical Encryption Techniques
 K11 = 001000 010101 111111 010011 110111 101101 001110 000110
 K12 = 011101 010111 000111 110101 100101 000110 011111 101001
 K13 = 100101 111100 010111 010001 111110 101011 101001 000001
 K14 = 010111 110100 001110 110111 111100 101110 011100 111010
 K15 = 101111 111001 000110 001101 001111 010011 111100 001010
 K16 = 110010 110011 110110 001011 000011 100001 011111 110101
Classical Encryption Techniques
Initial permutation
Round 1
Round 2
Round 16
32 bit Swap
Inverse initial permutation
64-bit Plain text
64-bit Cipher text
Permuted choice 1
Left Circular Shift
Left Circular Shift
Left Circular Shift
64-bit Key
Permuted choice 2
Permuted choice 2
Permuted choice 2
56 bit
56 bit
56 bit
56 bit
56 bit
56 bit
48 bit
48 bit
48 bit
K1
K2
K16
64 bit
64 bit
64 bit
64 bit
64 bit
Classical Encryption Techniques
Stream Ciphers and Block Ciphers
Data Encryption Standard
DES Algorithm
DES Key Creation
DES Encryption
The Strength Of DES
Classical Encryption Techniques
Initial permutation
Round 1
Round 2
Round 16
32 bit Swap
Inverse initial permutation
64-bit Plain text
64-bit Cipher text
Permuted choice 1
Left Circular Shift
Left Circular Shift
Left Circular Shift
64-bit Key
Permuted choice 2
Permuted choice 2
Permuted choice 2
56 bit
56 bit
56 bit
56 bit
56 bit
56 bit
48 bit
48 bit
48 bit
K1
K2
K16
64 bit
64 bit
64 bit
64 bit
64 bit
Classical Encryption Techniques
 Assume: M = 0123456789ABCDEF
 M=0000 0001 0010 0011 0100 0101 0110 0111 1000 1001
1010 1011 1100 1101 1110 1111
Classical Encryption Techniques
 M=0000 0001 0010 0011 0100 0101 0110 0111 1000 1001
1010 1011 1100 1101 1110 1111
 Applying the initial permutation to the block of text P (64bit).
 IP=100 1100 0000 0000 1100 1100 1111 1111 1111 0000
1010 1010 1111 0000 1010 1010
Classical Encryption Techniques
Initial permutation
Round 1
Round 2
Round 16
32 bit Swap
Inverse initial permutation
64-bit Plain text
64-bit Cipher text
Permuted choice 1
Left Circular Shift
Left Circular Shift
Left Circular Shift
64-bit Key
Permuted choice 2
Permuted choice 2
Permuted choice 2
56 bit
56 bit
56 bit
56 bit
56 bit
56 bit
48 bit
48 bit
48 bit
K1
K2
K16
64 bit
64 bit
64 bit
64 bit
64 bit
Classical Encryption Techniques
 Divide the permuted block IP into a left half L0 of 32 bits, and a right
half R0 of 32 bits.
 L0 = 1100 1100 0000 0000 1100 1100 1111 1111
 R0 = 1111 0000 1010 1010 1111 0000 1010 1010
 Ln = Rn-1
 Rn = Ln-1 ⊕ f (Rn-1,Kn)
Classical Encryption Techniques
Classical Encryption Techniques
 Example: For n = 1, we have
 L0 = 1100 1100 0000 0000 1100 1100 1111 1111
 R0 = 1111 0000 1010 1010 1111 0000 1010 1010
 K1 = 000110 110000 001011 101111 111111 000111 000001
110010
 L1 = R0 = 1111 0000 1010 1010 1111 0000 1010 1010
 R1 = L0 ⊕ f (R0,K1) K=48bit but R0=32bit problem
Classical Encryption Techniques
Classical Encryption Techniques
 Calculate f (R0,K1)
Classical Encryption Techniques
 R1 = L0 ⊕ f (R0,K1)
 E(R0)
 R0 = 1111 0000 1010 1010 1111 0000 1010 1010
 E(R0) = 011110 100001 010101 010101 011110 100001 010101 010101
Classical Encryption Techniques
 R1 = L0 ⊕ f (R0,K1)
 K1 = 000110 110000 001011 101111 111111 000111 000001
110010
 E(R0) = 011110 100001 010101 010101 011110 100001
010101 010101
 K1 ⊕ E(R0) = 011000 010001 011110 111010 100001 100110
010100 100111
Classical Encryption Techniques
Classical Encryption Techniques
 We have not yet finished calculating the function f
 We now have 48 bits, or eight groups of six bits. We now do
something strange with each group of six bits: we use them as
addresses in tables called "S boxes".
 f(Kn , E(Rn-1)) =B1B2B3B4B5B6B7B8
 where each Bi is a group of six bits. We now calculate
 S1(B1) S2(B2) S3(B3) S4(B4) S5(B5) S6(B6) S7(B7) S8(B8)
Classical Encryption Techniques
 The net result is that the eight groups of 6 bits are transformed into
eight groups of 4 bits (the 4-bit outputs from the S boxes) for 32 bits
total.
Classical Encryption Techniques
 For example, for input block B = 011011 the first bit is "0" and the
last bit "1" giving 01 as the row. This is row 1. The middle four bits
are "1101". This is the binary equivalent of decimal 13, so the
column is column number 13. In row 1, column 13 appears 5. This
determines the output; 5 is binary 0101, so that the output is 0101.
Hence S1(011011) = 0101.
Classical Encryption Techniques
Classical Encryption Techniques
 K1 ⊕ E(R0) = 011000 010001 011110 111010 100001 100110
010100 100111.
 S1(B1)S2(B2)S3(B3)S4(B4)S5(B5)S6(B6)S7(B7)S8(B8) = 0101 1100 1000
0010 1011 0101 1001 0111
 The final stage in the calculation of f is to do a permutation P of
the S-box output to obtain the final value of f :
 f = P(S1(B1)S2(B2)...S8(B8))
Classical Encryption Techniques
Classical Encryption Techniques
 S1(B1)S2(B2)S3(B3)S4(B4)S5(B5)S6(B6)S7(B7)S8(B8) = 0101 1100 1000
0010 1011 0101 1001 0111
 f = 0010 0011 0100 1010 1010 1001 1011 1011
Classical Encryption Techniques
Classical Encryption Techniques
 R1 = L0 ⊕ f (R0 , K1 ) =
1100 1100 0000 0000 1100 1100 1111 1111
⊕ 0010 0011 0100 1010 1010 1001 1011 1011
= 1110 1111 0100 1010 0110 0101 0100 0100
Classical Encryption Techniques
Initial permutation
Round 1
Round 2
Round 16
32 bit Swap
Inverse initial permutation
64-bit Plain text
64-bit Cipher text
Permuted choice 1
Left Circular Shift
Left Circular Shift
Left Circular Shift
64-bit Key
Permuted choice 2
Permuted choice 2
Permuted choice 2
56 bit
56 bit
56 bit
56 bit
56 bit
56 bit
48 bit
48 bit
48 bit
K1
K2
K16
64 bit
64 bit
64 bit
64 bit
64 bit
Classical Encryption Techniques
 In the next round, we will have L2 = R1, which is the block we just
calculated, and then we must calculate R2 =L1 ⊕ f( R1, K2), and so
on for 16 rounds.
 At the end of the sixteenth round we have the blocks L16 and R16.
We then reverse the order of the two blocks into the 64-bit block
Classical Encryption Techniques
 If we process all 16 blocks using the method defined previously, we get,
on the 16th round
 L16 = 0100 0011 0100 0010 0011 0010 0011 0100
 R16 = 0000 1010 0100 1100 1101 1001 1001 0101
 We reverse the order of these two blocks and apply the final permutation
to
 R16L16 = 00001010 01001100 11011001 10010101 01000011
01000010 00110010 00110100
Classical Encryption Techniques
Initial permutation
Round 1
Round 2
Round 16
32 bit Swap
Inverse initial permutation
64-bit Plain text
64-bit Cipher text
Permuted choice 1
Left Circular Shift
Left Circular Shift
Left Circular Shift
64-bit Key
Permuted choice 2
Permuted choice 2
Permuted choice 2
56 bit
56 bit
56 bit
56 bit
56 bit
56 bit
48 bit
48 bit
48 bit
K1
K2
K16
64 bit
64 bit
64 bit
64 bit
64 bit
Classical Encryption Techniques
 Then apply a final permutation IP-1 as defined by the following
table:
Classical Encryption Techniques
 R16L16 = 00001010 01001100 11011001 10010101 01000011
01000010 00110010 00110100
 IP-1 = 10000101 11101000 00010011 01010100 00001111
00001010 10110100 00000101
 which in hexadecimal format is
85E813540F0AB405
Classical Encryption Techniques
Initial permutation
Round 1
Round 2
Round 16
32 bit Swap
Inverse initial permutation
64-bit Plain text
64-bit Cipher text
Permuted choice 1
Left Circular Shift
Left Circular Shift
Left Circular Shift
64-bit Key
Permuted choice 2
Permuted choice 2
Permuted choice 2
56 bit
56 bit
56 bit
56 bit
56 bit
56 bit
48 bit
48 bit
48 bit
K1
K2
K16
64 bit
64 bit
64 bit
64 bit
64 bit
Classical Encryption Techniques
This is the encrypted form of M = 0123456789ABCDEF
with K = 133457799BBCDFF1
C = 85E813540F0AB405
Classical Encryption Techniques
Stream Ciphers and Block Ciphers
Data Encryption Standard
DES Algorithm
DES Key Creation
DES Encryption
The Strength Of DES
Classical Encryption Techniques
 With a key length of 56 bits, there are 256
possible keys
 Brute force search looks hard
 Fast forward to 1998. Under the direction of John Gilmore of the EFF, a
team spent $220,000 and built a machine that can go through the entire
56-bit DES key space in an average of 4.5 days.
 On July 17, 1998, they announced they had cracked a 56-bit key in 56
hours. The computer, called Deep Crack, uses 27 boards each
containing 64 chips, and is capable of testing 90 billion keys a second.
Classical Encryption Techniques
facebook.com/mloey
mohamedloey@gmail.com
twitter.com/mloey
linkedin.com/in/mloey
mloey@fci.bu.edu.eg
mloey.github.io
Classical Encryption Techniques
www.YourCompany.com
© 2020 Companyname PowerPoint Business Theme. All Rights Reserved.
THANKS FOR
YOUR TIME

Weitere ähnliche Inhalte

Was ist angesagt?

Elliptic Curve Cryptography
Elliptic Curve CryptographyElliptic Curve Cryptography
Elliptic Curve CryptographyJorgeVillamarin5
 
Public Key Cryptography
Public Key CryptographyPublic Key Cryptography
Public Key CryptographyGopal Sakarkar
 
SHA-3, Keccak & Sponge function
SHA-3, Keccak & Sponge functionSHA-3, Keccak & Sponge function
SHA-3, Keccak & Sponge functionGennaro Caccavale
 
Intro to modern cryptography
Intro to modern cryptographyIntro to modern cryptography
Intro to modern cryptographyzahid-mian
 
Double DES & Triple DES
Double DES & Triple DESDouble DES & Triple DES
Double DES & Triple DESHemant Sharma
 
Network Security and Cryptography
Network Security and CryptographyNetwork Security and Cryptography
Network Security and CryptographyAdam Reagan
 
block ciphers
block ciphersblock ciphers
block ciphersAsad Ali
 
5. message authentication and hash function
5. message authentication and hash function5. message authentication and hash function
5. message authentication and hash functionChirag Patel
 
Encryption And Decryption Using AES Algorithm
Encryption And Decryption Using AES AlgorithmEncryption And Decryption Using AES Algorithm
Encryption And Decryption Using AES AlgorithmAhmed Raza Shaikh
 
symmetric key encryption algorithms
 symmetric key encryption algorithms symmetric key encryption algorithms
symmetric key encryption algorithmsRashmi Burugupalli
 
CRYPTOGRAPHY AND NETWORK SECURITY
CRYPTOGRAPHY AND NETWORK SECURITYCRYPTOGRAPHY AND NETWORK SECURITY
CRYPTOGRAPHY AND NETWORK SECURITYKathirvel Ayyaswamy
 
Topic1 substitution transposition-techniques
Topic1 substitution transposition-techniquesTopic1 substitution transposition-techniques
Topic1 substitution transposition-techniquesMdFazleRabbi18
 
Symmetric & Asymmetric Cryptography
Symmetric & Asymmetric CryptographySymmetric & Asymmetric Cryptography
Symmetric & Asymmetric Cryptographychauhankapil
 
4. The Advanced Encryption Standard (AES)
4. The Advanced Encryption Standard (AES)4. The Advanced Encryption Standard (AES)
4. The Advanced Encryption Standard (AES)Sam Bowne
 

Was ist angesagt? (20)

Elliptic Curve Cryptography
Elliptic Curve CryptographyElliptic Curve Cryptography
Elliptic Curve Cryptography
 
Public Key Cryptography
Public Key CryptographyPublic Key Cryptography
Public Key Cryptography
 
SHA-3
SHA-3SHA-3
SHA-3
 
MD-5 : Algorithm
MD-5 : AlgorithmMD-5 : Algorithm
MD-5 : Algorithm
 
SHA-3, Keccak & Sponge function
SHA-3, Keccak & Sponge functionSHA-3, Keccak & Sponge function
SHA-3, Keccak & Sponge function
 
Intro to modern cryptography
Intro to modern cryptographyIntro to modern cryptography
Intro to modern cryptography
 
Kerberos
KerberosKerberos
Kerberos
 
Double DES & Triple DES
Double DES & Triple DESDouble DES & Triple DES
Double DES & Triple DES
 
Network Security and Cryptography
Network Security and CryptographyNetwork Security and Cryptography
Network Security and Cryptography
 
Hash crypto
Hash cryptoHash crypto
Hash crypto
 
block ciphers
block ciphersblock ciphers
block ciphers
 
5. message authentication and hash function
5. message authentication and hash function5. message authentication and hash function
5. message authentication and hash function
 
Encryption And Decryption Using AES Algorithm
Encryption And Decryption Using AES AlgorithmEncryption And Decryption Using AES Algorithm
Encryption And Decryption Using AES Algorithm
 
Message digest 5
Message digest 5Message digest 5
Message digest 5
 
symmetric key encryption algorithms
 symmetric key encryption algorithms symmetric key encryption algorithms
symmetric key encryption algorithms
 
S-DES.ppt
S-DES.pptS-DES.ppt
S-DES.ppt
 
CRYPTOGRAPHY AND NETWORK SECURITY
CRYPTOGRAPHY AND NETWORK SECURITYCRYPTOGRAPHY AND NETWORK SECURITY
CRYPTOGRAPHY AND NETWORK SECURITY
 
Topic1 substitution transposition-techniques
Topic1 substitution transposition-techniquesTopic1 substitution transposition-techniques
Topic1 substitution transposition-techniques
 
Symmetric & Asymmetric Cryptography
Symmetric & Asymmetric CryptographySymmetric & Asymmetric Cryptography
Symmetric & Asymmetric Cryptography
 
4. The Advanced Encryption Standard (AES)
4. The Advanced Encryption Standard (AES)4. The Advanced Encryption Standard (AES)
4. The Advanced Encryption Standard (AES)
 

Andere mochten auch

Computer Security Lecture 3: Classical Encryption Techniques 2
Computer Security Lecture 3: Classical Encryption Techniques 2Computer Security Lecture 3: Classical Encryption Techniques 2
Computer Security Lecture 3: Classical Encryption Techniques 2Mohamed Loey
 
Computer Security Lecture 4.1: DES Supplementary Material
Computer Security Lecture 4.1: DES Supplementary MaterialComputer Security Lecture 4.1: DES Supplementary Material
Computer Security Lecture 4.1: DES Supplementary MaterialMohamed Loey
 
PMP Lecture 4: Project Integration Management
PMP Lecture 4: Project Integration ManagementPMP Lecture 4: Project Integration Management
PMP Lecture 4: Project Integration ManagementMohamed Loey
 
Computer Security Lecture 2: Classical Encryption Techniques 1
Computer Security Lecture 2: Classical Encryption Techniques 1Computer Security Lecture 2: Classical Encryption Techniques 1
Computer Security Lecture 2: Classical Encryption Techniques 1Mohamed Loey
 
Tx 3 hill shuman_oliver
Tx 3 hill shuman_oliverTx 3 hill shuman_oliver
Tx 3 hill shuman_oliverOPUNITE
 
Applications of-linear-algebra-hill-cipher
Applications of-linear-algebra-hill-cipherApplications of-linear-algebra-hill-cipher
Applications of-linear-algebra-hill-cipherAashirwad Kashyap
 
Evansville Project Management Presentation
Evansville Project Management PresentationEvansville Project Management Presentation
Evansville Project Management PresentationAndrew Scales
 
General-T-M_Wall-Street-Journal_Oct-2013_OPT
General-T-M_Wall-Street-Journal_Oct-2013_OPTGeneral-T-M_Wall-Street-Journal_Oct-2013_OPT
General-T-M_Wall-Street-Journal_Oct-2013_OPTOctave Living
 
Public Key Cryptography
Public Key CryptographyPublic Key Cryptography
Public Key CryptographyIsrael Herraiz
 
Protecting Your Data with Encryption
Protecting Your Data with EncryptionProtecting Your Data with Encryption
Protecting Your Data with EncryptionEd Leighton-Dick
 
كيف تحمي خصوصيتك علي مواقع التواصل الاجتماعي فيسبوك
كيف تحمي خصوصيتك علي مواقع التواصل الاجتماعي فيسبوككيف تحمي خصوصيتك علي مواقع التواصل الاجتماعي فيسبوك
كيف تحمي خصوصيتك علي مواقع التواصل الاجتماعي فيسبوكMohamed Loey
 
Data encryption standard
Data encryption standardData encryption standard
Data encryption standardPrasad Prabhu
 
PHP Comprehensive Overview
PHP Comprehensive OverviewPHP Comprehensive Overview
PHP Comprehensive OverviewMohamed Loey
 
Data encryption standard (des)
Data encryption standard  (des)Data encryption standard  (des)
Data encryption standard (des)Mecheko Sha
 
Data Encryption Standard (DES)
Data Encryption Standard (DES)Data Encryption Standard (DES)
Data Encryption Standard (DES)Haris Ahmed
 

Andere mochten auch (18)

Computer Security Lecture 3: Classical Encryption Techniques 2
Computer Security Lecture 3: Classical Encryption Techniques 2Computer Security Lecture 3: Classical Encryption Techniques 2
Computer Security Lecture 3: Classical Encryption Techniques 2
 
Computer Security Lecture 4.1: DES Supplementary Material
Computer Security Lecture 4.1: DES Supplementary MaterialComputer Security Lecture 4.1: DES Supplementary Material
Computer Security Lecture 4.1: DES Supplementary Material
 
PMP Lecture 4: Project Integration Management
PMP Lecture 4: Project Integration ManagementPMP Lecture 4: Project Integration Management
PMP Lecture 4: Project Integration Management
 
Computer Security Lecture 2: Classical Encryption Techniques 1
Computer Security Lecture 2: Classical Encryption Techniques 1Computer Security Lecture 2: Classical Encryption Techniques 1
Computer Security Lecture 2: Classical Encryption Techniques 1
 
Data encryption standard
Data encryption standardData encryption standard
Data encryption standard
 
DES
DESDES
DES
 
Tx 3 hill shuman_oliver
Tx 3 hill shuman_oliverTx 3 hill shuman_oliver
Tx 3 hill shuman_oliver
 
Applications of-linear-algebra-hill-cipher
Applications of-linear-algebra-hill-cipherApplications of-linear-algebra-hill-cipher
Applications of-linear-algebra-hill-cipher
 
6.hash mac
6.hash mac6.hash mac
6.hash mac
 
Evansville Project Management Presentation
Evansville Project Management PresentationEvansville Project Management Presentation
Evansville Project Management Presentation
 
General-T-M_Wall-Street-Journal_Oct-2013_OPT
General-T-M_Wall-Street-Journal_Oct-2013_OPTGeneral-T-M_Wall-Street-Journal_Oct-2013_OPT
General-T-M_Wall-Street-Journal_Oct-2013_OPT
 
Public Key Cryptography
Public Key CryptographyPublic Key Cryptography
Public Key Cryptography
 
Protecting Your Data with Encryption
Protecting Your Data with EncryptionProtecting Your Data with Encryption
Protecting Your Data with Encryption
 
كيف تحمي خصوصيتك علي مواقع التواصل الاجتماعي فيسبوك
كيف تحمي خصوصيتك علي مواقع التواصل الاجتماعي فيسبوككيف تحمي خصوصيتك علي مواقع التواصل الاجتماعي فيسبوك
كيف تحمي خصوصيتك علي مواقع التواصل الاجتماعي فيسبوك
 
Data encryption standard
Data encryption standardData encryption standard
Data encryption standard
 
PHP Comprehensive Overview
PHP Comprehensive OverviewPHP Comprehensive Overview
PHP Comprehensive Overview
 
Data encryption standard (des)
Data encryption standard  (des)Data encryption standard  (des)
Data encryption standard (des)
 
Data Encryption Standard (DES)
Data Encryption Standard (DES)Data Encryption Standard (DES)
Data Encryption Standard (DES)
 

Ähnlich wie Computer Security Lecture 4: Block Ciphers and the Data Encryption Standard

Cryptography Symmetric Key Algorithm (CSE)
Cryptography Symmetric Key Algorithm (CSE)Cryptography Symmetric Key Algorithm (CSE)
Cryptography Symmetric Key Algorithm (CSE)SoumyaBhattacharyya14
 
Ch03 Ch06 Des And Others
Ch03 Ch06 Des And OthersCh03 Ch06 Des And Others
Ch03 Ch06 Des And Othersnathanurag
 
Computer Security Lecture 5: Simplified Advanced Encryption Standard
Computer Security Lecture 5: Simplified Advanced Encryption StandardComputer Security Lecture 5: Simplified Advanced Encryption Standard
Computer Security Lecture 5: Simplified Advanced Encryption StandardMohamed Loey
 
Trible data encryption standard (3DES)
Trible data encryption standard (3DES)Trible data encryption standard (3DES)
Trible data encryption standard (3DES)Ahmed Mohamed Mahmoud
 
Block Cipher.cryptography_miu_year5.pptx
Block Cipher.cryptography_miu_year5.pptxBlock Cipher.cryptography_miu_year5.pptx
Block Cipher.cryptography_miu_year5.pptxHodaAhmedBekhitAhmed
 
Data Encryption standard in cryptography
Data Encryption standard in cryptographyData Encryption standard in cryptography
Data Encryption standard in cryptographyNithyasriA2
 
class5jf.pptx Block cipher in information security
class5jf.pptx Block cipher in information securityclass5jf.pptx Block cipher in information security
class5jf.pptx Block cipher in information security23017156038
 
Cryptographic algorithms
Cryptographic algorithmsCryptographic algorithms
Cryptographic algorithmsAnamika Singh
 
Cryptographic algorithms
Cryptographic algorithmsCryptographic algorithms
Cryptographic algorithmsAnamika Singh
 
Chapter 3: Block Ciphers and the Data Encryption Standard
Chapter 3: Block Ciphers and the Data Encryption StandardChapter 3: Block Ciphers and the Data Encryption Standard
Chapter 3: Block Ciphers and the Data Encryption StandardShafaan Khaliq Bhatti
 
Kaizen cso002 l1
Kaizen cso002 l1Kaizen cso002 l1
Kaizen cso002 l1asslang
 
javaPrimitiveTypes.pptx
javaPrimitiveTypes.pptxjavaPrimitiveTypes.pptx
javaPrimitiveTypes.pptxMattMarino13
 

Ähnlich wie Computer Security Lecture 4: Block Ciphers and the Data Encryption Standard (20)

Cryptography Symmetric Key Algorithm (CSE)
Cryptography Symmetric Key Algorithm (CSE)Cryptography Symmetric Key Algorithm (CSE)
Cryptography Symmetric Key Algorithm (CSE)
 
Ch03 Ch06 Des And Others
Ch03 Ch06 Des And OthersCh03 Ch06 Des And Others
Ch03 Ch06 Des And Others
 
Computer Security Lecture 5: Simplified Advanced Encryption Standard
Computer Security Lecture 5: Simplified Advanced Encryption StandardComputer Security Lecture 5: Simplified Advanced Encryption Standard
Computer Security Lecture 5: Simplified Advanced Encryption Standard
 
3-Block Ciphers and DES.pdf
3-Block Ciphers and DES.pdf3-Block Ciphers and DES.pdf
3-Block Ciphers and DES.pdf
 
03 UNIT-2.pdf
03 UNIT-2.pdf03 UNIT-2.pdf
03 UNIT-2.pdf
 
Trible data encryption standard (3DES)
Trible data encryption standard (3DES)Trible data encryption standard (3DES)
Trible data encryption standard (3DES)
 
IDEA.ppt
IDEA.pptIDEA.ppt
IDEA.ppt
 
Block Cipher.cryptography_miu_year5.pptx
Block Cipher.cryptography_miu_year5.pptxBlock Cipher.cryptography_miu_year5.pptx
Block Cipher.cryptography_miu_year5.pptx
 
Data Encryption standard in cryptography
Data Encryption standard in cryptographyData Encryption standard in cryptography
Data Encryption standard in cryptography
 
DES Block Cipher Hao Qi
DES Block Cipher Hao QiDES Block Cipher Hao Qi
DES Block Cipher Hao Qi
 
chap3.pdf
chap3.pdfchap3.pdf
chap3.pdf
 
class5jf.pptx Block cipher in information security
class5jf.pptx Block cipher in information securityclass5jf.pptx Block cipher in information security
class5jf.pptx Block cipher in information security
 
Data compession
Data compession Data compession
Data compession
 
Cryptographic algorithms
Cryptographic algorithmsCryptographic algorithms
Cryptographic algorithms
 
Cryptographic algorithms
Cryptographic algorithmsCryptographic algorithms
Cryptographic algorithms
 
Chapter 3: Block Ciphers and the Data Encryption Standard
Chapter 3: Block Ciphers and the Data Encryption StandardChapter 3: Block Ciphers and the Data Encryption Standard
Chapter 3: Block Ciphers and the Data Encryption Standard
 
section-8.ppt
section-8.pptsection-8.ppt
section-8.ppt
 
The Understanding of GOST Cryptography Technique
The Understanding of GOST Cryptography TechniqueThe Understanding of GOST Cryptography Technique
The Understanding of GOST Cryptography Technique
 
Kaizen cso002 l1
Kaizen cso002 l1Kaizen cso002 l1
Kaizen cso002 l1
 
javaPrimitiveTypes.pptx
javaPrimitiveTypes.pptxjavaPrimitiveTypes.pptx
javaPrimitiveTypes.pptx
 

Mehr von Mohamed Loey

Lecture 6: Deep Learning Applications
Lecture 6: Deep Learning ApplicationsLecture 6: Deep Learning Applications
Lecture 6: Deep Learning ApplicationsMohamed Loey
 
Lecture 5: Convolutional Neural Network Models
Lecture 5: Convolutional Neural Network ModelsLecture 5: Convolutional Neural Network Models
Lecture 5: Convolutional Neural Network ModelsMohamed Loey
 
Lecture 4: Deep Learning Frameworks
Lecture 4: Deep Learning FrameworksLecture 4: Deep Learning Frameworks
Lecture 4: Deep Learning FrameworksMohamed Loey
 
Lecture 4: How it Works: Convolutional Neural Networks
Lecture 4: How it Works: Convolutional Neural NetworksLecture 4: How it Works: Convolutional Neural Networks
Lecture 4: How it Works: Convolutional Neural NetworksMohamed Loey
 
Lecture 3: Convolutional Neural Networks
Lecture 3: Convolutional Neural NetworksLecture 3: Convolutional Neural Networks
Lecture 3: Convolutional Neural NetworksMohamed Loey
 
Lecture 2: Artificial Neural Network
Lecture 2: Artificial Neural NetworkLecture 2: Artificial Neural Network
Lecture 2: Artificial Neural NetworkMohamed Loey
 
Lecture 1: Deep Learning for Computer Vision
Lecture 1: Deep Learning for Computer VisionLecture 1: Deep Learning for Computer Vision
Lecture 1: Deep Learning for Computer VisionMohamed Loey
 
Design of an Intelligent System for Improving Classification of Cancer Diseases
Design of an Intelligent System for Improving Classification of Cancer DiseasesDesign of an Intelligent System for Improving Classification of Cancer Diseases
Design of an Intelligent System for Improving Classification of Cancer DiseasesMohamed Loey
 
Computer Security - CCNA Security - Lecture 2
Computer Security - CCNA Security - Lecture 2Computer Security - CCNA Security - Lecture 2
Computer Security - CCNA Security - Lecture 2Mohamed Loey
 
Computer Security - CCNA Security - Lecture 1
Computer Security - CCNA Security - Lecture 1Computer Security - CCNA Security - Lecture 1
Computer Security - CCNA Security - Lecture 1Mohamed Loey
 
Algorithms Lecture 8: Pattern Algorithms
Algorithms Lecture 8: Pattern AlgorithmsAlgorithms Lecture 8: Pattern Algorithms
Algorithms Lecture 8: Pattern AlgorithmsMohamed Loey
 
Algorithms Lecture 7: Graph Algorithms
Algorithms Lecture 7: Graph AlgorithmsAlgorithms Lecture 7: Graph Algorithms
Algorithms Lecture 7: Graph AlgorithmsMohamed Loey
 
Algorithms Lecture 6: Searching Algorithms
Algorithms Lecture 6: Searching AlgorithmsAlgorithms Lecture 6: Searching Algorithms
Algorithms Lecture 6: Searching AlgorithmsMohamed Loey
 
Algorithms Lecture 5: Sorting Algorithms II
Algorithms Lecture 5: Sorting Algorithms IIAlgorithms Lecture 5: Sorting Algorithms II
Algorithms Lecture 5: Sorting Algorithms IIMohamed Loey
 
Algorithms Lecture 4: Sorting Algorithms I
Algorithms Lecture 4: Sorting Algorithms IAlgorithms Lecture 4: Sorting Algorithms I
Algorithms Lecture 4: Sorting Algorithms IMohamed Loey
 
Algorithms Lecture 3: Analysis of Algorithms II
Algorithms Lecture 3: Analysis of Algorithms IIAlgorithms Lecture 3: Analysis of Algorithms II
Algorithms Lecture 3: Analysis of Algorithms IIMohamed Loey
 
Algorithms Lecture 2: Analysis of Algorithms I
Algorithms Lecture 2: Analysis of Algorithms IAlgorithms Lecture 2: Analysis of Algorithms I
Algorithms Lecture 2: Analysis of Algorithms IMohamed Loey
 
Algorithms Lecture 1: Introduction to Algorithms
Algorithms Lecture 1: Introduction to AlgorithmsAlgorithms Lecture 1: Introduction to Algorithms
Algorithms Lecture 1: Introduction to AlgorithmsMohamed Loey
 
Convolutional Neural Network Models - Deep Learning
Convolutional Neural Network Models - Deep LearningConvolutional Neural Network Models - Deep Learning
Convolutional Neural Network Models - Deep LearningMohamed Loey
 
Deep Learning - Overview of my work II
Deep Learning - Overview of my work IIDeep Learning - Overview of my work II
Deep Learning - Overview of my work IIMohamed Loey
 

Mehr von Mohamed Loey (20)

Lecture 6: Deep Learning Applications
Lecture 6: Deep Learning ApplicationsLecture 6: Deep Learning Applications
Lecture 6: Deep Learning Applications
 
Lecture 5: Convolutional Neural Network Models
Lecture 5: Convolutional Neural Network ModelsLecture 5: Convolutional Neural Network Models
Lecture 5: Convolutional Neural Network Models
 
Lecture 4: Deep Learning Frameworks
Lecture 4: Deep Learning FrameworksLecture 4: Deep Learning Frameworks
Lecture 4: Deep Learning Frameworks
 
Lecture 4: How it Works: Convolutional Neural Networks
Lecture 4: How it Works: Convolutional Neural NetworksLecture 4: How it Works: Convolutional Neural Networks
Lecture 4: How it Works: Convolutional Neural Networks
 
Lecture 3: Convolutional Neural Networks
Lecture 3: Convolutional Neural NetworksLecture 3: Convolutional Neural Networks
Lecture 3: Convolutional Neural Networks
 
Lecture 2: Artificial Neural Network
Lecture 2: Artificial Neural NetworkLecture 2: Artificial Neural Network
Lecture 2: Artificial Neural Network
 
Lecture 1: Deep Learning for Computer Vision
Lecture 1: Deep Learning for Computer VisionLecture 1: Deep Learning for Computer Vision
Lecture 1: Deep Learning for Computer Vision
 
Design of an Intelligent System for Improving Classification of Cancer Diseases
Design of an Intelligent System for Improving Classification of Cancer DiseasesDesign of an Intelligent System for Improving Classification of Cancer Diseases
Design of an Intelligent System for Improving Classification of Cancer Diseases
 
Computer Security - CCNA Security - Lecture 2
Computer Security - CCNA Security - Lecture 2Computer Security - CCNA Security - Lecture 2
Computer Security - CCNA Security - Lecture 2
 
Computer Security - CCNA Security - Lecture 1
Computer Security - CCNA Security - Lecture 1Computer Security - CCNA Security - Lecture 1
Computer Security - CCNA Security - Lecture 1
 
Algorithms Lecture 8: Pattern Algorithms
Algorithms Lecture 8: Pattern AlgorithmsAlgorithms Lecture 8: Pattern Algorithms
Algorithms Lecture 8: Pattern Algorithms
 
Algorithms Lecture 7: Graph Algorithms
Algorithms Lecture 7: Graph AlgorithmsAlgorithms Lecture 7: Graph Algorithms
Algorithms Lecture 7: Graph Algorithms
 
Algorithms Lecture 6: Searching Algorithms
Algorithms Lecture 6: Searching AlgorithmsAlgorithms Lecture 6: Searching Algorithms
Algorithms Lecture 6: Searching Algorithms
 
Algorithms Lecture 5: Sorting Algorithms II
Algorithms Lecture 5: Sorting Algorithms IIAlgorithms Lecture 5: Sorting Algorithms II
Algorithms Lecture 5: Sorting Algorithms II
 
Algorithms Lecture 4: Sorting Algorithms I
Algorithms Lecture 4: Sorting Algorithms IAlgorithms Lecture 4: Sorting Algorithms I
Algorithms Lecture 4: Sorting Algorithms I
 
Algorithms Lecture 3: Analysis of Algorithms II
Algorithms Lecture 3: Analysis of Algorithms IIAlgorithms Lecture 3: Analysis of Algorithms II
Algorithms Lecture 3: Analysis of Algorithms II
 
Algorithms Lecture 2: Analysis of Algorithms I
Algorithms Lecture 2: Analysis of Algorithms IAlgorithms Lecture 2: Analysis of Algorithms I
Algorithms Lecture 2: Analysis of Algorithms I
 
Algorithms Lecture 1: Introduction to Algorithms
Algorithms Lecture 1: Introduction to AlgorithmsAlgorithms Lecture 1: Introduction to Algorithms
Algorithms Lecture 1: Introduction to Algorithms
 
Convolutional Neural Network Models - Deep Learning
Convolutional Neural Network Models - Deep LearningConvolutional Neural Network Models - Deep Learning
Convolutional Neural Network Models - Deep Learning
 
Deep Learning - Overview of my work II
Deep Learning - Overview of my work IIDeep Learning - Overview of my work II
Deep Learning - Overview of my work II
 

Kürzlich hochgeladen

SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
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
 
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
 
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
 
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
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
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
 
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
 
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
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
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
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
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
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 

Kürzlich hochgeladen (20)

SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.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
 
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.
 
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)
 
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
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
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
 
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
 
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
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
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
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
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
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
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...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 

Computer Security Lecture 4: Block Ciphers and the Data Encryption Standard

  • 1. Classical Encryption Techniques Block Ciphers and the Data Encryption Standard
  • 2. Classical Encryption Techniques Stream Ciphers and Block Ciphers Data Encryption Standard DES Algorithm DES Key Creation DES Encryption The Strength Of DES
  • 3. Classical Encryption Techniques Stream Ciphers and Block Ciphers Data Encryption Standard DES Algorithm DES Key Creation DES Encryption The Strength Of DES
  • 4. Classical Encryption Techniques  Stream cipher is one that encrypts a digital data stream one bit or one byte at a time.  Block cipher is one in which a block of plaintext is treated as a whole and used to produce a ciphertext block of equal length.
  • 7. Classical Encryption Techniques Stream Ciphers and Block Ciphers Data Encryption Standard DES Algorithm DES Key Creation DES Encryption The Strength Of DES
  • 8. Classical Encryption Techniques  Data Encryption Standard is a symmetric-key algorithm for the encryption of electronic data.  Developed in the early 1970s at IBM and based on an earlier design by Horst Feistel.  DES was issued in 1977 by the National Bureau of Standards, now the National Institute of Standards and Technology (NIST), as Federal Information Processing Standard 46
  • 9. Classical Encryption Techniques  DES, data are encrypted in 64-bit blocks using a 56 bits (+8 parity bits) key.  The algorithm transforms 64-bit input in a series of steps into a 64- bit output.  The same steps, with the same key, are used to reverse the encryption.
  • 10. Classical Encryption Techniques  DES uses "keys" where are also apparently 16 hexadecimal numbers long, or apparently 64 bits long. However, every 8th key bit is ignored in the DES algorithm, so that the effective key size is 56 bits.
  • 11. Classical Encryption Techniques Stream Ciphers and Block Ciphers Data Encryption Standard DES Algorithm DES Key Creation DES Encryption The Strength Of DES
  • 12. Classical Encryption Techniques Initial permutation Round 1 Round 2 Round 16 32 bit Swap Inverse initial permutation 64-bit Plain text 64-bit Cipher text Permuted choice 1 Left Circular Shift Left Circular Shift Left Circular Shift 64-bit Key Permuted choice 2 Permuted choice 2 Permuted choice 2 56 bit 56 bit 56 bit 56 bit 56 bit 56 bit 48 bit 48 bit 48 bit K1 K2 K16 64 bit 64 bit 64 bit 64 bit 64 bit
  • 13. Classical Encryption Techniques Stream Ciphers and Block Ciphers Data Encryption Standard DES Algorithm DES Key Creation DES Encryption The Strength Of DES
  • 14. Classical Encryption Techniques Initial permutation Round 1 Round 2 Round 16 32 bit Swap Inverse initial permutation 64-bit Plain text 64-bit Cipher text Permuted choice 1 Left Circular Shift Left Circular Shift Left Circular Shift 64-bit Key Permuted choice 2 Permuted choice 2 Permuted choice 2 56 bit 56 bit 56 bit 56 bit 56 bit 56 bit 48 bit 48 bit 48 bit K1 K2 K16 64 bit 64 bit 64 bit 64 bit 64 bit
  • 15. Classical Encryption Techniques Key (56 bits) Left Right PC-2 16-Keys (48 bits) Key (64 bits) PC-1 Shift (generate 16 keys) Concatenate
  • 16. Classical Encryption Techniques Key (56 bits) Left Right PC-2 16-Keys (48 bits) Key (64 bits) PC-1 Shift (generate 16 keys) Concatenate
  • 17. Classical Encryption Techniques  Let K be the hexadecimal key K = 133457799BBCDFF1  K (binary) = 00010011 00110100 01010111 01111001 10011011 10111100 11011111 11110001  K=64bit  The DES algorithm uses the following steps:
  • 18. Classical Encryption Techniques Key (56 bits) Left Right PC-2 16-Keys (48 bits) Key (64 bits) PC-1 Shift (generate 16 keys) Concatenate
  • 19. Classical Encryption Techniques 1) Step 1: Apply permutation choice -1 (PC-1)  The 64-bit key is permuted according to the following table, PC-1
  • 20. Classical Encryption Techniques  K = 00010011 00110100 01010111 01111001 10011011 10111100 11011111 11110001  we get the 56-bit permutation  Kp = 1111000 0110011 0010101 0101111 0101010 1011001 1001111 0001111
  • 21. Classical Encryption Techniques Key (56 bits) Left Right PC-2 16-Keys (48 bits) Key (64 bits) PC-1 Shift (generate 16 keys) Concatenate
  • 22. Classical Encryption Techniques 2) Split Kp key into left and right halves  Kp = 1111000 0110011 0010101 0101111 0101010 1011001 1001111 0001111  KL = 1111000 0110011 0010101 0101111  KR = 0101010 1011001 1001111 0001111
  • 23. Classical Encryption Techniques Key (56 bits) Left Right PC-2 16-Keys (48 bits) Key (64 bits) PC-1 Shift (generate 16 keys) Concatenate
  • 24. Classical Encryption Techniques 2) Apply Shifts (Left) as describe on table  KL = 1111000 0110011 0010101 0101111  KR = 0101010 1011001 1001111 0001111  KL1 =Shift(KL)= 1110000110011001010101011111  KR1 =Shift(KR)= 1010101011001100111100011110  KL2 =Shift(KL1)= 1100001100110010101010111111  KR2 =Shift(KR1)= 0101010110011001111000111101  KL3 =Shift(KL2)= 0000110011001010101011111111  KR3 =Shift(KR2)= 0101011001100111100011110101
  • 25. Classical Encryption Techniques 2) Apply Shifts (Left) as describe on table  KL4 = 0011001100101010101111111100  KR4 = 0101100110011110001111010101  KL5 = 1100110010101010111111110000  KR5 = 0110011001111000111101010101  KL6 = 001100101010101111111100001  KR6 = 1001100111100011110101010101  KL7 = 1100101010101111111100001100  KR7 = 0110011110001111010101010110
  • 26. Classical Encryption Techniques 2) Apply Shifts (Left) as describe on table  KL8 = 0010101010111111110000110011  KR8 = 1001111000111101010101011001  KL9 = 0101010101111111100001100110  KR9 = 0011110001111010101010110011  KL10 = 0101010111111110000110011001  KR10 = 1111000111101010101011001100  KL11 = 0101011111111000011001100101  KR11 = 1100011110101010101100110011
  • 27. Classical Encryption Techniques 2) Apply Shifts (Left) as describe on table  KL12 = 0101111111100001100110010101  KR12 = 0001111010101010110011001111  KL13 = 0111111110000110011001010101  KR13 = 0111101010101011001100111100  KL14 = 1111111000011001100101010101  KR14 = 1110101010101100110011110001  KL15 = 1111100001100110010101010111  KR15 = 1010101010110011001111000111
  • 28. Classical Encryption Techniques 2) Apply Shifts (Left) as describe on table  KL16 = 1111000011001100101010101111  KR16 = 0101010101100110011110001111
  • 29. Classical Encryption Techniques Key (56 bits) Left Right PC-2 16-Keys (48 bits) Key (64 bits) PC-1 Shift (generate 16 keys) Concatenate
  • 30. Classical Encryption Techniques 3) Concatenate KL and KR  K1=1110000 1100110 0101010 1011111 1010101 0110011 0011110 0011110 4) Apply PC-2 to all 16 keys  we get the 48-bit permutation for each key  K1=000110 110000 001011 101111 111111 000111 000001 110010
  • 31. Classical Encryption Techniques Key (56 bits) Left Right PC-2 16-Keys (48 bits) Key (64 bits) PC-1 Shift (generate 16 keys) Concatenate
  • 32. Classical Encryption Techniques  K1 = 000110 110000 001011 101111 111111 000111 000001 110010  K2 = 011110 011010 111011 011001 110110 111100 100111 100101  K3 = 010101 011111 110010 001010 010000 101100 111110 011001  K4 = 011100 101010 110111 010110 110110 110011 010100 011101  K5 = 011111 001110 110000 000111 111010 110101 001110 101000  K6 = 011000 111010 010100 111110 010100 000111 101100 101111  K7 = 111011 001000 010010 110111 111101 100001 100010 111100  K8 = 111101 111000 101000 111010 110000 010011 101111 111011  K9 = 111000 001101 101111 101011 111011 011110 011110 000001  K10 = 101100 011111 001101 000111 101110 100100 011001 001111
  • 33. Classical Encryption Techniques  K11 = 001000 010101 111111 010011 110111 101101 001110 000110  K12 = 011101 010111 000111 110101 100101 000110 011111 101001  K13 = 100101 111100 010111 010001 111110 101011 101001 000001  K14 = 010111 110100 001110 110111 111100 101110 011100 111010  K15 = 101111 111001 000110 001101 001111 010011 111100 001010  K16 = 110010 110011 110110 001011 000011 100001 011111 110101
  • 34. Classical Encryption Techniques Initial permutation Round 1 Round 2 Round 16 32 bit Swap Inverse initial permutation 64-bit Plain text 64-bit Cipher text Permuted choice 1 Left Circular Shift Left Circular Shift Left Circular Shift 64-bit Key Permuted choice 2 Permuted choice 2 Permuted choice 2 56 bit 56 bit 56 bit 56 bit 56 bit 56 bit 48 bit 48 bit 48 bit K1 K2 K16 64 bit 64 bit 64 bit 64 bit 64 bit
  • 35. Classical Encryption Techniques Stream Ciphers and Block Ciphers Data Encryption Standard DES Algorithm DES Key Creation DES Encryption The Strength Of DES
  • 36. Classical Encryption Techniques Initial permutation Round 1 Round 2 Round 16 32 bit Swap Inverse initial permutation 64-bit Plain text 64-bit Cipher text Permuted choice 1 Left Circular Shift Left Circular Shift Left Circular Shift 64-bit Key Permuted choice 2 Permuted choice 2 Permuted choice 2 56 bit 56 bit 56 bit 56 bit 56 bit 56 bit 48 bit 48 bit 48 bit K1 K2 K16 64 bit 64 bit 64 bit 64 bit 64 bit
  • 37. Classical Encryption Techniques  Assume: M = 0123456789ABCDEF  M=0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
  • 38. Classical Encryption Techniques  M=0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111  Applying the initial permutation to the block of text P (64bit).  IP=100 1100 0000 0000 1100 1100 1111 1111 1111 0000 1010 1010 1111 0000 1010 1010
  • 39. Classical Encryption Techniques Initial permutation Round 1 Round 2 Round 16 32 bit Swap Inverse initial permutation 64-bit Plain text 64-bit Cipher text Permuted choice 1 Left Circular Shift Left Circular Shift Left Circular Shift 64-bit Key Permuted choice 2 Permuted choice 2 Permuted choice 2 56 bit 56 bit 56 bit 56 bit 56 bit 56 bit 48 bit 48 bit 48 bit K1 K2 K16 64 bit 64 bit 64 bit 64 bit 64 bit
  • 40. Classical Encryption Techniques  Divide the permuted block IP into a left half L0 of 32 bits, and a right half R0 of 32 bits.  L0 = 1100 1100 0000 0000 1100 1100 1111 1111  R0 = 1111 0000 1010 1010 1111 0000 1010 1010  Ln = Rn-1  Rn = Ln-1 ⊕ f (Rn-1,Kn)
  • 42. Classical Encryption Techniques  Example: For n = 1, we have  L0 = 1100 1100 0000 0000 1100 1100 1111 1111  R0 = 1111 0000 1010 1010 1111 0000 1010 1010  K1 = 000110 110000 001011 101111 111111 000111 000001 110010  L1 = R0 = 1111 0000 1010 1010 1111 0000 1010 1010  R1 = L0 ⊕ f (R0,K1) K=48bit but R0=32bit problem
  • 44. Classical Encryption Techniques  Calculate f (R0,K1)
  • 45. Classical Encryption Techniques  R1 = L0 ⊕ f (R0,K1)  E(R0)  R0 = 1111 0000 1010 1010 1111 0000 1010 1010  E(R0) = 011110 100001 010101 010101 011110 100001 010101 010101
  • 46. Classical Encryption Techniques  R1 = L0 ⊕ f (R0,K1)  K1 = 000110 110000 001011 101111 111111 000111 000001 110010  E(R0) = 011110 100001 010101 010101 011110 100001 010101 010101  K1 ⊕ E(R0) = 011000 010001 011110 111010 100001 100110 010100 100111
  • 48. Classical Encryption Techniques  We have not yet finished calculating the function f  We now have 48 bits, or eight groups of six bits. We now do something strange with each group of six bits: we use them as addresses in tables called "S boxes".  f(Kn , E(Rn-1)) =B1B2B3B4B5B6B7B8  where each Bi is a group of six bits. We now calculate  S1(B1) S2(B2) S3(B3) S4(B4) S5(B5) S6(B6) S7(B7) S8(B8)
  • 49. Classical Encryption Techniques  The net result is that the eight groups of 6 bits are transformed into eight groups of 4 bits (the 4-bit outputs from the S boxes) for 32 bits total.
  • 50. Classical Encryption Techniques  For example, for input block B = 011011 the first bit is "0" and the last bit "1" giving 01 as the row. This is row 1. The middle four bits are "1101". This is the binary equivalent of decimal 13, so the column is column number 13. In row 1, column 13 appears 5. This determines the output; 5 is binary 0101, so that the output is 0101. Hence S1(011011) = 0101.
  • 52. Classical Encryption Techniques  K1 ⊕ E(R0) = 011000 010001 011110 111010 100001 100110 010100 100111.  S1(B1)S2(B2)S3(B3)S4(B4)S5(B5)S6(B6)S7(B7)S8(B8) = 0101 1100 1000 0010 1011 0101 1001 0111  The final stage in the calculation of f is to do a permutation P of the S-box output to obtain the final value of f :  f = P(S1(B1)S2(B2)...S8(B8))
  • 54. Classical Encryption Techniques  S1(B1)S2(B2)S3(B3)S4(B4)S5(B5)S6(B6)S7(B7)S8(B8) = 0101 1100 1000 0010 1011 0101 1001 0111  f = 0010 0011 0100 1010 1010 1001 1011 1011
  • 56. Classical Encryption Techniques  R1 = L0 ⊕ f (R0 , K1 ) = 1100 1100 0000 0000 1100 1100 1111 1111 ⊕ 0010 0011 0100 1010 1010 1001 1011 1011 = 1110 1111 0100 1010 0110 0101 0100 0100
  • 57. Classical Encryption Techniques Initial permutation Round 1 Round 2 Round 16 32 bit Swap Inverse initial permutation 64-bit Plain text 64-bit Cipher text Permuted choice 1 Left Circular Shift Left Circular Shift Left Circular Shift 64-bit Key Permuted choice 2 Permuted choice 2 Permuted choice 2 56 bit 56 bit 56 bit 56 bit 56 bit 56 bit 48 bit 48 bit 48 bit K1 K2 K16 64 bit 64 bit 64 bit 64 bit 64 bit
  • 58. Classical Encryption Techniques  In the next round, we will have L2 = R1, which is the block we just calculated, and then we must calculate R2 =L1 ⊕ f( R1, K2), and so on for 16 rounds.  At the end of the sixteenth round we have the blocks L16 and R16. We then reverse the order of the two blocks into the 64-bit block
  • 59. Classical Encryption Techniques  If we process all 16 blocks using the method defined previously, we get, on the 16th round  L16 = 0100 0011 0100 0010 0011 0010 0011 0100  R16 = 0000 1010 0100 1100 1101 1001 1001 0101  We reverse the order of these two blocks and apply the final permutation to  R16L16 = 00001010 01001100 11011001 10010101 01000011 01000010 00110010 00110100
  • 60. Classical Encryption Techniques Initial permutation Round 1 Round 2 Round 16 32 bit Swap Inverse initial permutation 64-bit Plain text 64-bit Cipher text Permuted choice 1 Left Circular Shift Left Circular Shift Left Circular Shift 64-bit Key Permuted choice 2 Permuted choice 2 Permuted choice 2 56 bit 56 bit 56 bit 56 bit 56 bit 56 bit 48 bit 48 bit 48 bit K1 K2 K16 64 bit 64 bit 64 bit 64 bit 64 bit
  • 61. Classical Encryption Techniques  Then apply a final permutation IP-1 as defined by the following table:
  • 62. Classical Encryption Techniques  R16L16 = 00001010 01001100 11011001 10010101 01000011 01000010 00110010 00110100  IP-1 = 10000101 11101000 00010011 01010100 00001111 00001010 10110100 00000101  which in hexadecimal format is 85E813540F0AB405
  • 63. Classical Encryption Techniques Initial permutation Round 1 Round 2 Round 16 32 bit Swap Inverse initial permutation 64-bit Plain text 64-bit Cipher text Permuted choice 1 Left Circular Shift Left Circular Shift Left Circular Shift 64-bit Key Permuted choice 2 Permuted choice 2 Permuted choice 2 56 bit 56 bit 56 bit 56 bit 56 bit 56 bit 48 bit 48 bit 48 bit K1 K2 K16 64 bit 64 bit 64 bit 64 bit 64 bit
  • 64. Classical Encryption Techniques This is the encrypted form of M = 0123456789ABCDEF with K = 133457799BBCDFF1 C = 85E813540F0AB405
  • 65. Classical Encryption Techniques Stream Ciphers and Block Ciphers Data Encryption Standard DES Algorithm DES Key Creation DES Encryption The Strength Of DES
  • 66. Classical Encryption Techniques  With a key length of 56 bits, there are 256 possible keys  Brute force search looks hard  Fast forward to 1998. Under the direction of John Gilmore of the EFF, a team spent $220,000 and built a machine that can go through the entire 56-bit DES key space in an average of 4.5 days.  On July 17, 1998, they announced they had cracked a 56-bit key in 56 hours. The computer, called Deep Crack, uses 27 boards each containing 64 chips, and is capable of testing 90 billion keys a second.
  • 68. Classical Encryption Techniques www.YourCompany.com © 2020 Companyname PowerPoint Business Theme. All Rights Reserved. THANKS FOR YOUR TIME