Lecture Network security: Chapter 17 - Dr. Munam Ali Shah

35 61 0
Lecture Network security: Chapter 17 - Dr. Munam Ali Shah

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

The topic discussed in this chapter are: We will explore the need, features and characteristics of public key cryptography; the working/function of a public key cryptography scheme will be discussed in detail; RSA, as an example, will be explained.

Network Security Lecture 17 Presented by: Dr Munam Ali Shah Summary of the Previous Lecture ■ We discussed stream ciphers and its working ■ We explored how stream ciphers are efficient when compared to block ciphers in terms of performance ■ Some examples of stream ciphers such as RC4, RC5 and blowfish etc were explored Summary of the previous Lecture ■ Stream Cipher Properties some design considerations are: ● long period with no repetitions ● statistically random ● depends on large enough key ● large linear complexity ● use of highly non-linear boolean functions ● Ci = Mi XOR StreamKeyi Stream Cipher Illustration Summary of the Previous Lecture (RC4) ■ a proprietary cipher owned by RSA another Ron Rivest design, simple but effective ■ variable key size (1-256 bytes) ■ byte-oriented stream cipher ■ widely used (web SSL/TLS, wireless WEP) ■ key forms random permutation of all 8-bit values ■ uses that permutation to scramble input info processed a byte at a time ■ Remained trade secret till 1994 Part (d) Asymmetric Key Cryptography Outlines of today’s lecture ■ We will explore the need, features and characteristics of public key cryptography ■ The working/function of a public key cryptography scheme will be discussed in detail ■ RSA, as an example, will be explained Objectives ■ You would be able to present an understanding of the public key cryptography ■ You would be able use and implement the RSA technique Different names q q q Public key cryptography Asymmetric key cryptography key cryptography Presented by Diffie & Hallman (1976) New directions in cryptography Why Public-Key Cryptography? ■ Key distribution under symmetric encryption requires ● Two communicants already share a key ● The use of Key Distribution Center (KDC) ■ Whitfield Diffie & Martin Hellman reasoned ● 2nd requirement neglected the essence of cryptography, i.e the ability to maintain total secrecy over your own communication ● how to verify a message comes intact from the claimed sender? Public-Key Cryptography Confidentiality ■ Y = E(PUb, X ) ■ X = D(PRb, Y ) ■ Adversary can access PUb and Y, attempt to recover X or PRb 22 Integrity ■ Impossible to alter the message without access to A’s private key ■ Authenticate the source ■ Ensure data integrity 23 Authentication and Confidentiality ■ Z = E(PUb, E(PRa, X)) ■ X = D(PUa, E(PRb, Z)) ■ Overhead: public key algorithm executed four times Public-Key Applications ■ can classify uses into categories: ● ● ● encryption/decryption (provide secrecy) digital signatures (provide authentication) key exchange (of session keys) Algorithm En/decryption Digital signature Key exchange RSA Yes Yes Yes Elliptic curve Yes Yes Yes Diffie Hellman No No Yes DSS No Yes No Requirements for Public key cryptography ■ Computationally easy ● ● ● for B to generate a pair of key (public and private) for sender A, knowing the public key and the message M to generate the ciphertext C = E(PUb, M) for receiver B, to decrypt the ciphertext using its private key to recover M M = D(PRb, C) = D(PRb, E(PUb, M) ) ■ Computationally infeasible for an adversary ● ● knowing the PUb to determine the private key PRb knowing the PUb and ciphertext C to recover M Security of Public Key Schemes ■ like private key schemes brute force exhaustive search ■ ■ ■ ■ attack is always theoretically possible keys used are too large (>512bits) security relies on a large enough difference in difficulty between easy (en/decrypt) and hard (cryptanalyse) problems requires the use of very large numbers hence is slow compared to private/symmetric key schemes The RSA Algorithm ■ by Rivest, Shamir & Adleman of MIT in 1977 ■ best known & widely used public-key scheme ■ Block cipher scheme: plaintext and ciphertext are integer between to n-1 for some n ■ Use large integers e.g n = 1024 bits RSA Key Setup ■ each user generates a public/private key pair by: ■ selecting two large primes at random - p, q ■ Computing n=p.q ● ø(n)=(p-1)(q-1) ● ■ selecting at random the encryption key e 1

Ngày đăng: 30/01/2020, 11:13

Mục lục

  • Slide 1

  • Summary of the Previous Lecture

  • Summary of the previous Lecture

  • Stream Cipher Illustration

  • Summary of the Previous Lecture (RC4)

  • Slide 6

  • Outlines of today’s lecture

  • Objectives

  • Slide 9

  • Why Public-Key Cryptography?

  • Private-Key Cryptography

  • Public-Key Cryptography

  • Public-Key Characteristics

  • Essential steps

  • Slide 15

  • Slide 16

  • Asymmetric Key Cryptography

  • Asymmetric Key Cryptography

  • Public-Key Cryptography

  • Public-Key Cryptography

Tài liệu cùng người dùng

Tài liệu liên quan