48

Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms [email protected] Adriaan Barri [email protected]

Embed Size (px)

Citation preview

Page 1: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be
Page 2: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Contact Information

Cryptography 21/04/23 | pag. 2

Professor

Assistant

Office

Webpage

Course Text

Ann [email protected]

Adriaan [email protected]

Pleinlaan 9, 2.29

http://homepages.vub.ac.be/~andooms (Education)

• Johanes A. Buchmann. Introduction to Cryptography, Springer, 2000.• Richard Mollin, Codes: The Guide to Secrecy From Ancient to Modern Times, Chapman & Hall, 2005. • Alfred J. Menezes, Paul C. van Oorschot and Scott A. Vanstone Handbook of Applied Cryptography, CRC Press, 1996.

Page 3: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Introduction

Introduction21/04/23 | pag. 3

Page 4: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Cryptology

Introduction21/04/23 | pag. 4

Cryptology

+

A form of communication which is primarily concerned with the secure transmission (through encryption) of a secret message over an insecure channel.

Deals with attacks on encrypted intercepted messages to recover the secret message.

=

Cryptography

Cryptanalysis

Page 5: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Cryptosystem

Introduction21/04/23 | pag. 5

Page 6: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Example: Ceasar Cipher

Cryptography 21/04/23 | pag. 6

Page 7: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Example: Ceasar Cipher

Introduction21/04/23 | pag. 7

Hence the number of keys should be large!

Page 8: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Basic Concepts

Introduction21/04/23 | pag. 8

Page 9: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Symmetric vs AsymmetricCryptosystems

Introduction21/04/23 | pag. 9

Page 10: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Cryptanalysis

Introduction21/04/23 | pag. 10

Kerckhoff’s principle

Page 11: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Attacks

Introduction21/04/23 | pag. 11

Page 12: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Example: Attacks

Introduction21/04/23 | pag. 12

Page 13: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Alphabet

Introduction21/04/23 | pag. 13

Page 14: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Alphabet

Introduction21/04/23 | pag. 14

Page 15: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Words

Introduction21/04/23 | pag. 15

Page 16: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Permutations

Introduction21/04/23 | pag. 16

Page 17: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Permutations

Cryptography 21/04/23 | pag. 17

Page 18: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Symmetric Cryptosystems

Symmetric Cryptosystems21/04/23 | pag. 18

Page 19: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers

Symmetric Cryptosystems21/04/23 | pag. 19

Page 20: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers

Symmetric Cryptosystems21/04/23 | pag. 20

Page 21: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers:Permutation Cipher

Symmetric Cryptosystems21/04/23 | pag. 21

Page 22: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers:Multiple Encryption

Symmetric Cryptosystems21/04/23 | pag. 22

Page 23: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers:Modes of Use

Cryptography 21/04/23 | pag. 23

• ECB: Electronic Codebook

• CBC: Cipherblock Chaining

• CFB: Cipher Feedback

• OFB: Output Feedback

Page 24: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers – ECB:Electronic Codebook Mode

Cryptography 21/04/23 | pag. 24

Page 25: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers – ECB:Electronic Codebook Mode

Cryptography 21/04/23 | pag. 25

Page 26: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers – ECB:Electronic Codebook Mode

Cryptography 21/04/23 | pag. 26

Page 27: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Example:Block Ciphers – ECB

Cryptography 21/04/23 | pag. 27

Page 28: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Drawback:Block Ciphers – ECB

Cryptography 21/04/23 | pag. 28

Page 29: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Example:Block Ciphers – ECB

Cryptography 21/04/23 | pag. 29

Page 30: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers – CBC:Cipherblock Chaining Mode

Cryptography 21/04/23 | pag. 30

Page 31: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers – CBC:XOR

Cryptography 21/04/23 | pag. 31

Page 32: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers – CBC:Cipherblock Chaining Mode

Cryptography 21/04/23 | pag. 32

Page 33: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers – CBC:Cipherblock Chaining Mode

Cryptography 21/04/23 | pag. 33

Page 34: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers – CBC:Cipherblock Chaining Mode

Cryptography 21/04/23 | pag. 34

Page 35: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Example:Block Ciphers – CBC

Cryptography 21/04/23 | pag. 35

Page 36: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers – CBC:Cipherblock Chaining Mode

Cryptography 21/04/23 | pag. 36

Page 37: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Example:Block Ciphers – CBC

Cryptography 21/04/23 | pag. 37

Page 38: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Drawback:Block Ciphers – CBC

Cryptography 21/04/23 | pag. 38

Page 39: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers – CFB:Cipher Feedback Mode

Cryptography 21/04/23 | pag. 39

Page 40: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers – CFB:Cipher Feedback Mode

Cryptography 21/04/23 | pag. 40

Page 41: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers – CFB:Cipher Feedback Mode

Cryptography 21/04/23 | pag. 41

Page 42: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Example:Block Ciphers – CFB

Cryptography 21/04/23 | pag. 42

Page 43: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Drawback:Block Ciphers – CFB

Cryptography 21/04/23 | pag. 43

The smaller the block length r, the shorter the ciphertext blocks. This means on the hand that transmission is faster, but on the other hand that the block encryption function must be applied more frequently. The optimal choice of r depends on a tradeoff between transmission and computation speed.

Page 44: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers – OFB:Output Feedback Mode

Cryptography 21/04/23 | pag. 44

Page 45: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers – OFB:Output Feedback Mode

Cryptography 21/04/23 | pag. 45

Page 46: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Block Ciphers – OFB:Output Feedback Mode

Cryptography 21/04/23 | pag. 46

Page 47: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Example:Block Ciphers – OFB

Cryptography 21/04/23 | pag. 47

Page 48: Contact Information Cryptography 8/10/2015 | pag. 2 Professor Assistant Office Webpage Course Text Ann Dooms Ann.Dooms@vub.ac.be Adriaan Barri Adriaan.Barri@vub.ac.be

Drawback:Block Ciphers – OFB

Cryptography 21/04/23 | pag. 48