Introduction to Information Security



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

C = EK(M)

  • Decryption is just the reverse operation; transforming ciphertext C into plaintext M under control of key K
  • M = DK(C)

  • It should be (computationally) infeasible for an observer of C to recover either M or K (in a reasonable time) – security requirement
  • Symmetric-Key Cryptography

    • Both sender and receiver keys are the same: KA=KB
    • The keys must be kept secret and securely distributed
      • Thus, also called “Secret Key Cryptography”
    • Data Encryption Standard (DES)

    Encryption
    Decryption
    plaintext
    ciphertext
    plaintext
    Key KA
    Key KB=KA
    Secure Key Distribution

    What is a block cipher?

    Block ciphers are the crypto work horse

    Canonical examples:

    • 3DES: n = 64 bits, k = 168 bits
    • AES: n = 128 bits, k = 128, 192, 256 bits

    Block of plaintext
    n bits
    Key
    k bits
    Block of ciphertext
    n bits
    E, D

    Block Cipher


    Courtesy:
    Andreas
    Steffen

    Block ciphers built by iteration


    key expansion
    key k1
    key k2
    key k3
    key kn
    key k
    m
    R(k1, ∙)
    R(kn, ∙)
    R(k3, ∙)
    R(k2, ∙)
    c
    R(k, m) is called a round function
    Ex: 3DES (n=48), AES128 (n=10)
    m
    c
    m1
    m2
    m3

    Stream Ciphers

    Recall: A stream cipher typically xors plaintext byte-by-byte with PRNG(k)

    Example: RC4 (Rivest Cipher 4) is a PRNG based on a key, and is used as a stream cipher in TLS and WPA


    Download 1,39 Mb.

    Do'stlaringiz bilan baham:
    1   2   3   4   5   6   7   8   9   ...   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