Key Management and Distribution

Similar documents
Cryptography and Network Security Chapter 10. Fourth Edition by William Stallings

Cryptography and Network Security

Chapter 7 Public Key Cryptography and Digital Signatures

Chapter 9. Public Key Cryptography, RSA And Key Management

This chapter continues our overview of public-key cryptography systems (PKCSs), and begins with a description of one of the earliest and simplest

Key Management and Elliptic Curves

1. Diffie-Hellman Key Exchange

Spring 2010: CS419 Computer Security

Public Key Algorithms

Abhijith Chandrashekar and Dushyant Maheshwary

Dr. Jinyuan (Stella) Sun Dept. of Electrical Engineering and Computer Science University of Tennessee Fall 2010

Elliptic Curve Public Key Cryptography

The most important development from the work on public-key cryptography is the digital signature. Message authentication protects two parties who

Lecture 2 Applied Cryptography (Part 2)

Public Key Cryptography

Computer Security. 08. Cryptography Part II. Paul Krzyzanowski. Rutgers University. Spring 2018

Distributed Systems. 26. Cryptographic Systems: An Introduction. Paul Krzyzanowski. Rutgers University. Fall 2015

Understanding Cryptography by Christof Paar and Jan Pelzl. Chapter 9 Elliptic Curve Cryptography

Cryptography and Network Security Chapter 14

Fall 2010/Lecture 32 1

Diffie-Hellman. Part 1 Cryptography 136

Cristina Nita-Rotaru. CS355: Cryptography. Lecture 17: X509. PGP. Authentication protocols. Key establishment.

Public Key Cryptography and RSA

Data Security and Privacy. Topic 14: Authentication and Key Establishment

Crypto Basics. Recent block cipher: AES Public Key Cryptography Public key exchange: Diffie-Hellmann Homework suggestion

PUBLIC KEY CRYPTO. Anwitaman DATTA SCSE, NTU Singapore CX4024. CRYPTOGRAPHY & NETWORK SECURITY 2018, Anwitaman DATTA

Overview. Public Key Algorithms I

Cryptographic Systems

Chapter 9 Public Key Cryptography. WANG YANG

Public-key encipherment concept

Public Key Cryptography, OpenPGP, and Enigmail. 31/5/ Geek Girls Carrffots GVA

Computer Security 3/23/18

Public Key Cryptography

Key Exchange. References: Applied Cryptography, Bruce Schneier Cryptography and Network Securiy, Willian Stallings

CS669 Network Security

CS549: Cryptography and Network Security

Elliptic Curve Cryptography

UNIT III 3.1DISCRETE LOGARITHMS

Public-Key Cryptography

Introduction to Cryptography and Security Mechanisms: Unit 5. Public-Key Encryption

Chapter 3. Principles of Public-Key Cryptosystems

CSC 474/574 Information Systems Security

Outline. Public Key Cryptography. Applications of Public Key Crypto. Applications (Cont d)

CS 161 Computer Security

Public-Key Cryptography. Professor Yanmin Gong Week 3: Sep. 7

CSCI 454/554 Computer and Network Security. Topic 5.2 Public Key Cryptography

Other Topics in Cryptography. Truong Tuan Anh

Lecture 6 - Cryptography

Outline. CSCI 454/554 Computer and Network Security. Introduction. Topic 5.2 Public Key Cryptography. 1. Introduction 2. RSA

Keywords Session key, asymmetric, digital signature, cryptosystem, encryption.

Chapter 3 Public Key Cryptography

Information Security CS 526

Public Key Algorithms

T Cryptography and Data Security

ECC Elliptic Curve Cryptography. Foundations of Cryptography - ECC pp. 1 / 31

T Cryptography and Data Security

Activity Guide - Public Key Cryptography

Public Key (asymmetric) Cryptography

CRYPTOGRAPHY AND NETWROK SECURITY-QUESTION BANK

Elliptic Curve Cryptography

Public Key Algorithms

Module: Cryptographic Protocols. Professor Patrick McDaniel Spring CMPSC443 - Introduction to Computer and Network Security

Implementation and Benchmarking of Elliptic Curve Cryptography Algorithms

CS 6324: Information Security More Info on Key Establishment: RSA, DH & QKD

Understanding Cryptography A Textbook for Students and Practitioners by Christof Paar and Jan Pelzl. Chapter 6 Introduction to Public-Key Cryptography

Cryptography Lecture 9 Key distribution and trust, Elliptic curve cryptography

CS3235 Seventh set of lecture slides

Key Exchange. Secure Software Systems

UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering. Introduction to Cryptography ECE 597XX/697XX

Modern cryptography 2. CSCI 470: Web Science Keith Vertanen

Introduction to Cryptography and Security Mechanisms. Abdul Hameed

Introduction to Elliptic Curve Cryptography

Notes for Lecture 10

ICS 180 May 4th, Guest Lecturer: Einar Mykletun

TECHNISCHE UNIVERSITEIT EINDHOVEN Faculty of Mathematics and Computer Science Exam Cryptology, Tuesday 31 October 2017

L13. Reviews. Rocky K. C. Chang, April 10, 2015

Innovation and Cryptoventures. Digital Signatures. Campbell R. Harvey. Duke University, NBER and Investment Strategy Advisor, Man Group, plc

Innovation and Cryptoventures. Digital Signatures. Campbell R. Harvey. Duke University, NBER and Investment Strategy Advisor, Man Group, plc

Cryptography and Network Security. Sixth Edition by William Stallings

Prime Field over Elliptic Curve Cryptography for Secured Message Transaction

Robust EC-PAKA Protocol for Wireless Mobile Networks

The Application of Elliptic Curves Cryptography in Embedded Systems

Encryption. INST 346, Section 0201 April 3, 2018

CSC/ECE 774 Advanced Network Security

18733: Applied Cryptography Anupam Datta (CMU) Basic key exchange. Dan Boneh

Diffie-Hellman Key Agreement

Application of Number Theory to Cryptology

Digital Signature. Raj Jain

Understanding Cryptography A Textbook for Students and Practitioners by Christof Paar and Jan Pelzl. Chapter 6 Introduction to Public-Key Cryptography

Elliptic Curve Cryptography

Quantum Encryption Keys

Computer Security. 08r. Pre-exam 2 Last-minute Review Cryptography. Paul Krzyzanowski. Rutgers University. Spring 2018

LECTURE NOTES ON PUBLIC- KEY CRYPTOGRAPHY. (One-Way Functions and ElGamal System)

RSA. Public Key CryptoSystem

Kurose & Ross, Chapters (5 th ed.)

SEC 1: Elliptic Curve Cryptography

Elliptic Curves as Tool for Public Key Cryptography

Chapter 9: Key Management

An IBE Scheme to Exchange Authenticated Secret Keys

Security Handshake Pitfalls

Transcription:

CPE 542: CRYPTOGRAPHY & NETWORK SECURITY Chapter 10 Key Management; Other Public Key Cryptosystems Dr. Lo ai Tawalbeh Computer Engineering Department Jordan University of Science and Technology Jordan Key Management and Distribution public-key encryption helps address key distribution problems have two aspects of this: distribution of public keys use of public-key encryption to distribute secret keys Key Distribution can be performed by: Public announcement Publicly available directory Public-key authority Public-key certificates 1

Public Announcement users distribute public keys to recipients or broadcast to community at large eg. append PGP keys to email messages or post to news groups or email list major weakness is forgery anyone can create a key claiming to be someone else and broadcast it until forgery is discovered can masquerade as claimed user Publicly Available Directory can obtain greater security by registering keys with a public directory directory must be trusted with properties: contains {name, public-key} entries participants register securely with directory participants can replace key at any time directory is periodically published directory can be accessed electronically still vulnerable to forgery 2

Public-Key Authority improves security by tightening control over distribution of keys from directory Assumes that: The Authority has a dynamic directory of public keys Each participant knows reliably a public key of the authority then users interact with directory to obtain any desired public key securely does require real-time access to directory when keys are needed Public-Key Authority 3

Public-Key Certificates certificates allow key exchange without real-time access to public-key authority a certificate binds identity to public key usually with other info such as period of validity (Time), with all contents signed by a trusted Public-Key or Certificate Authority (CA) can be verified by anyone who knows the public-key authorities public-key Public-Key Certificates 4

Public-Key Distribution of Secret Keys use previous methods to obtain public-key can use for secrecy or authentication but public-key algorithms are slow so usually want to use private-key encryption to protect message contents hence need a session key have several alternatives for negotiating a suitable session Simple Secret Key Distribution proposed by Merkle in 1979 A generates a new temporary public key pair A sends B the public key and their identity B generates a session key K sends it to A encrypted using the supplied public key A decrypts the session key and both use problem is that an opponent can intercept and impersonate both halves of protocol 5

Public-Key Distribution of Secret Keys if have securely exchanged public-keys: Diffie-Hellman Key Exchange By Deffie-Hellman -1976 is a practical method for public exchange of a secret key used in a number of commercial products value of key depends on the participants (and their private and public key information) based on exponentiation in a finite (Galois) field (modulo a prime or a polynomial) security relies on the difficulty of computing discrete logarithms (similar to factoring) hard 6

Diffie-Hellman Setup all users agree on global parameters: large prime integer or polynomial q α a primitive root mod q each user (eg. A) generates their key chooses a secret key (number): x A < q compute their public key: y A = α xa mod q each user makes public that key y A Diffie-Hellman Key Exchange shared session key for users A & B is K AB : K AB = α x A. xb mod q x = y B A mod q (which B can compute) x = y A B mod q (which A can compute) K AB is used as session key in private-key encryption scheme between Alice and Bob if Alice and Bob subsequently communicate, they will have the same key as before, unless they choose new public-keys attacker needs an x, must solve discrete log 7

Diffie-Hellman Key Exchange Diffie-Hellman Example users Alice & Bob who wish to swap keys: agree on prime q=353 and α=3 select random secret keys: A chooses x A =97, B chooses x B =233 compute public keys: y A =3 97 mod 353 = 40 (Alice) y B =3 233 mod 353 = 248 (Bob) compute shared session key as: x K AB = y A B mod 353 = 248 97 = 160 (Alice) x K AB = y B A mod 353 = 40 233 = 160 (Bob) 8

Elliptic Curve Cryptography majority of public-key crypto (RSA, D-H) use either integer or polynomial arithmetic with very large numbers/polynomials imposes a significant load in storing and processing keys and messages an alternative is to use elliptic curves offers same security with smaller bit sizes Real Elliptic Curves an elliptic curve is defined by an equation in two variables x & y, with coefficients consider a cubic elliptic curve of form y 2 = x 3 + ax + b where x,y,a,b are all real numbers also define zero point O have addition operation for elliptic curve geometrically sum of Q+R is reflection of intersection R 9

Real Elliptic Curve Example Finite Elliptic Curves Elliptic curve cryptography uses curves whose variables & coefficients are finite have two families commonly used: prime curves E p (a,b) defined over Z p use integers modulo a prime best in software binary curves E 2 m(a,b) defined over GF(2 n ) use polynomials with binary coefficients best in hardware 10

Elliptic Curve Cryptography ECC addition is analog of modulo multiply ECC repeated addition is analog of modulo exponentiation need hard problem equiv to discrete log Q=kP, where Q,P belong to a prime curve is easy to compute Q given k,p but hard to find k given Q,P known as the elliptic curve logarithm problem Certicom example: E 23 (9,17) ECC Diffie-Hellman can do key exchange analogous to D-H users select a suitable curve E p (a,b) select base point G=(x 1,y 1 ) with large order n s.t. ng=o A & B select private keys n A <n, n B <n compute public keys: P A =n A G, P B =n B G compute shared key: K=n A P B, K=n B P A same since K=n A n B G 11

ECC Encryption/Decryption several alternatives, will consider simplest must first encode any message M as a point on the elliptic curve P m select suitable curve & point G as in D-H each user chooses private key n A <n and computes public key P A =n A G to encrypt P m : C m ={kg, P m +k P b }, k random decrypt C m compute: P m +kp b n B (kg) = P m +k(n B G) n B (kg) = P m ECC Security relies on elliptic curve logarithm problem fastest method is Pollard rho method compared to factoring, can use much smaller key sizes than with RSA etc for equivalent key lengths computations are roughly equivalent hence for similar security ECC offers significant computational advantages 12