Introduction to Information Security



Download 1,39 Mb.
bet7/44
Sana01.04.2022
Hajmi1,39 Mb.
#522548
1   2   3   4   5   6   7   8   9   10   ...   44
Bog'liq
CSS

A Simple SPN Cipher


Round 1
Round 2
Round 3
Plaintext Block
Ciphertext Block
Roundkey 1
Roundkey 2
Roundkey 3
The overall plaintext is broken into blocks and each block is encrypted with the cipher
Typical SPN ciphers will have 10-14 rounds
Alice and Bob only need one key, and the cipher will transform that key into subkeys for each round
To decrypt, Alice just does everything in the reverse order

One Feistel Round


Input Left Half
Input Right Half
Round
Function
Output Left Half
Output Right Half
The input to the round is divided in half
The right half is put into a round function with the roundkey
The output of the round function is XORed with the left half
The two halves switch sides to become the input to the next round
Only the left half of the input has been modified
Roundkey

A Simple Feistel Cipher


Plaintext Block
Ciphertext Block
Round 1
Round 2
Round 3
Feistel ciphers need twice as many rounds as SPN ciphers because only half of the input is being encrypted each round
Works the same as SPN ciphers in terms of transforming one key into subkeys and splitting the plaintext into blocks
To decrypt, the ciphertext is sent through the same cipher and the roundkeys are used in reverse order
Roundkey 1
Roundkey 2
Roundkey 3

Modern Ciphers in Practice

  • Follow SPN/Feistel structure in general, but with added twists for security
  • There are two important ciphers in the history of modern cryptography
    • DES (Data Encryption Standard)
    • AES (Advanced Encryption Standard)

DES

  • U.S. Government recognized the need to have a standardized cipher for secret documents
  • DES was developed by IBM in 1976
    • Feistel structure
    • Key length of 56 bits, block size of 64 bits
    • 16 rounds
  • Analysis of DES was the beginning of modern cryptographic research

Download 1,39 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   10   ...   44




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish