• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Cryptography 101
 

Cryptography 101

on

  • 182 views

Jesse Pollak's talk on Cryptography 101 and WordCamp Minneapolis

Jesse Pollak's talk on Cryptography 101 and WordCamp Minneapolis

Statistics

Views

Total Views
182
Views on SlideShare
69
Embed Views
113

Actions

Likes
0
Downloads
2
Comments
0

3 Embeds 113

https://getclef.com 111
http://mike.dev 1
http://www.slideee.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Cryptography 101 Cryptography 101 Presentation Transcript

    • hi y’all, i’m jesse
    • hi y’all, i’m jesse co-founder at clef
    • hi y’all, i’m jesse @jessepollak co-founder at clef
    • cryptography
    • cRyPtOgRaPhY
    • cryptography
    • goals
    • goals give you a basic knowledge of what crypto is and how it works.
    • goals give you a basic knowledge of what crypto is and how it use examples you can understand
    • goals give you a basic knowledge of what crypto is and how it use examples you can understand help you realize that crypto isn’t scary.
    • goals give you a basic knowledge of what crypto is and how it works. use examples you can understand help you realize that crypto isn’t scary.
    • again, i’m jesse @jessepollak co-founder at clef
    • crypto 101
    • crypto 101 getclef.com/crypto101
    • cryptography the art of writing or solving codes
    • cryptography the art of writing or solving codes the practice and study of techniques to communicate securely in the presence of third-parties.
    • cryptography the art of writing or solving codes the practice and study of techniques to communicate securely in the presence of third-parties. how we use the web without hackers stealing our identities and information
    • so, what?
    • so, what? where is cryptography actually used?
    • 1 passwords
    • 1 passwords 2 clef
    • 1 passwords 2 clef 3 SSL
    • 1 passwords 2 clef 3 SSL
    • what is SSL?
    • what is TLS?
    • what is HTTPS?
    • ssl the way we browse the web without anyone else listening in.
    • core problem
    • how can two people communicate securely? alicebob
    • two subproblems
    • “your message” 1
    • “fd64$%533#$$1” “your message” 1
    • “your message” “fd64$%533#$$1” “your message” 1
    • encryption 1 alicebob
    • 2 bob
    • 2 “your message” “fd64$%533#$$1” “your message” bob
    • 2 alicebob
    • 2 “your message” bob alice
    • 2 “your message” “fd64$%533#$$1” bob alice
    • 2 “your message” “fd64$%533#$$1” bob “fd64$%533#$$1” alice
    • 2 “your message” “fd64$%533#$$1” “your message” bob “fd64$%533#$$1” ? alice
    • 2 “your message” “fd64$%533#$$1” “your message” bob “fd64$%533#$$1” ? alice
    • 2 alicebob key exchange
    • what is ssl? how we communicate securely on the internet. the combination of encryption and key exchange.
    • got it?
    • got it? (just kidding)
    • let’s build ssl
    • encryption
    • I have a message that I want to keep secret
    • I have an encryption key that only I know
    • I have an encryption key that only I know
    • I have an encryption key that only I know
    • I have an encryption key that only I knowwhat is this thing?
    • I have an encryption key that only I knowwhat is this thing?
    • I have an encryption key that only I knowwhat is this thing?
    • I have an encryption key that only I knowwhat is this thing? “secret message”
    • I have an encryption key that only I knowwhat is this thing? “secret message” “secret key”
    • I have an encryption key that only I knowwhat is this thing? “secret message” “secret key”
    • “the message I want to keep secret”
    • “the message I want to keep secret” “my secret key”+
    • “the message I want to keep secret” “my secret key”+
    • “the message I want to keep secret” “my secret key”+ “dkjf8#654&(@)(5335jJkdfd8(%&jfdc”=
    • “the message I want to keep secret” “my secret key”+ “the message I want to keep secret”= encrypted
    • “the message I want to keep secret” “my secret key”+ “dkjf8#654&(@)(5335jJkdfd8(%&jfdc”=
    • “dkjf8#654&(@)(5335jJkdfd8(%&jfdc” “my secret key”+
    • “dkjf8#654&(@)(5335jJkdfd8(%&jfdc” “my secret key”+
    • “dkjf8#654&(@)(5335jJkdfd8(%&jfdc” “my secret key”+ “the message I want to keep secret”=
    • “the message I want to keep secret” “my secret key”+ decrypted “the message I want to keep secret”=
    • “dkjf8#654&(@)(5335jJkdfd8(%&jfdc” “my secret key”+ “the message I want to keep secret”= “the message I want to keep secret” “my secret key”+
    • “dkjf8#654&(@)(5335jJkdfd8(%&jfdc” “my secret key”+ “the message I want to keep secret”= “the message I want to keep secret” “my secret key”+
    • encryption decryption
    • encryption(message, encryption_key) returns encrypted_message
    • decryption(encrypted_message, encryption_key) returns message
    • encryption
    • key exchange
    • alicebob how we get the same encryption key
    • alicebob how we get the same encryption key without me finding out
    • alicebob how we get the same encryption key without me finding out or me
    • alicebob how we get the same encryption key without me finding out or meor me
    • alicebob how we get the same encryption key without me finding out or meor me
    • alicebob how we get the same encryption key without me finding out or meor me all communication is public
    • problem how do two people share an encryption key when they can’t communicate privately.
    • solution diffie-hellman!
    • solution diffie-hellman…?
    • solution math!
    • solution math…?
    • solution colors
    • solution colors!
    • diffie-hellman key exchange
    • diffie-hellman key exchange with no math and lots of colors!
    • imagine that we have an infinite number of colors
    • imagine that we have an infinite number of colors
    • imagine that we have an infinite number of colors
    • imagine that we have an infinite number of colors
    • imagine that we have an infinite number of colors
    • imagine that we have an infinite number of colors
    • imagine that we have an infinite number of colors
    • imagine that we have an infinite number of colors
    • imagine that we have an infinite number of colors
    • imagine that we have an infinite number of colors
    • some rules
    • some rules easy to mix two colors to get a third
    • some rules + easy to mix two colors to get a third
    • some rules + easy to mix two colors to get a third =
    • some rules + easy to mix two colors to get a third = impossible to figure out mixed colors
    • some rules + easy to mix two colors to get a third = impossible to figure out mixed colors =
    • some rules + easy to mix two colors to get a third = impossible to figure out mixed colors = +
    • some rules + easy to mix two colors to get a third = impossible to figure out mixed colors = + ?
    • some rules + easy to mix two colors to get a third = impossible to figure out mixed colors = + ?
    • bob hi
    • alicebob hi hey
    • alicebob
    • alicebob
    • alicebob
    • alicebob
    • alicebob
    • alicebob
    • alicebob
    • alicebob
    • alicebob “I NEED TO TELL YOU A SECRET!”
    • alicebob “I NEED TO TELL YOU A SECRET!” “LET’S DO A KEY EXCHANGE!”
    • alicebob bob’s knowledge alice’s knowledge everyone’s knowledge
    • alicebob bob’s knowledge alice’s knowledge everyone’s knowledge bob and alice agree on a random color publicly
    • alicebob bob’s knowledge alice’s knowledge everyone’s knowledge
    • alicebob bob’s knowledge alice’s knowledge everyone’s knowledge bob chooses a color and tells no one
    • alicebob bob’s knowledge alice’s knowledge everyone’s knowledge alice chooses a color and tells no one
    • alicebob bob’s knowledge alice’s knowledge everyone’s knowledge bob mixes his secret color with the public color and send the combination to alice
    • alicebob bob’s knowledge alice’s knowledge everyone’s knowledge
    • alicebob bob’s knowledge alice’s knowledge everyone’s knowledge alice mixes her secret color with the public color and send the combination to bob
    • alicebob bob’s knowledge alice’s knowledge everyone’s knowledge
    • alicebob bob’s knowledge alice’s knowledge everyone’s knowledge bob and alice mix their secret colors with their partner’s blend to get a new secret color
    • everyone else secret
    • + = secret everyone else wrong
    • + = secret wrong + = wrong everyone else
    • + = secret wrong + = wrong + = wrong everyone else
    • alicebob bob’s knowledge alice’s knowledge everyone’s knowledge
    • ssl key exchange + encryption
    • “the message I want to keep secret” bob
    • “the message I want to keep secret” + bob
    • encrypt “the message I want to keep secret” + bob
    • “dkjf8#654&(@)(5335jJkdfd8(%&jfdc” “the message I want to keep secret” +
    • alicebob bob’s knowledge alice’s knowledge everyone’s knowledge secret message
    • alice “dkjf8#654&(@)(5335jJkdfd8(%&jfdc”
    • alice “dkjf8#654&(@)(5335jJkdfd8(%&jfdc” +
    • alice “dkjf8#654&(@)(5335jJkdfd8(%&jfdc” + decrypt
    • alice “dkjf8#654&(@)(5335jJkdfd8(%&jfdc” + “the message I want to keep secret”=
    • alicebob we did it!
    • what is ssl? how we communicate securely on the internet. the combination of encryption and key exchange.
    • questions? @jessepollak