Docsity

Online Cryptography Course by Dan Boneh: Overview and Key Concepts, Lecture notes of Network security

Partial preview of the text

Download Online Cryptography Course by Dan Boneh: Overview and Key Concepts and more Lecture notes Network security in PDF only on Docsity!

Introduc/on

Course Overview

Online Cryptography Course Dan Boneh

Welcome

Course objec/ves:

  • Learn how crypto primi/ves work
  • Learn how to use them correctly and reason about security My recommenda/ons:
  • Take notes
  • Pause video frequently to think about the material
  • Answer the in-­‐video ques/ons

Secure communica/on

no eavesdropping no tampering

Secure Sockets Layer / TLS

Two main parts

  1. Handshake Protocol: Establish shared secret key using public-­‐key cryptography ( nd part of course)
  2. Record Layer: Transmit data using shared secret key Ensure confiden/ality and integrity ( st part of course)

Building block: sym. encryp/on

E, D: cipher k: secret key (e.g. 128 bits) m, c: plaintext, ciphertext Encryp/on algorithm is publicly known

  • Never use a proprietary cipher Alice E m (^) E(k,m)=c Bob D c D(k,c)=m k k

Use Cases

Single use key : (one /me key)

  • Key is only used to encrypt one message
    • encrypted email: new key generated for every email Mul, use key : (many /me key)
  • Key used to encrypt mul/ple messages
  • encrypted files: same key used to encrypt many files
  • Need more machinery than for one-­‐/me key

End of Segment