Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Crypto For the Masses_

Crypto For the Masses_

Matthew Bergman

November 05, 2013
Tweet

More Decks by Matthew Bergman

Other Decks in Education

Transcript

  1. This  TERRIFIED  Me // my second program in

    C++! ! #include <iostream>! ! using namespace std;! ! int main ()! {! cout << "Hello World! ";! cout << "I'm a C++ program";! return 0;! }!
  2. ALL ENCRYPTION WORKS ON T W O PRINCIPLES CONFUSION MY

    HAT IS AWESOME ZL UNG VF NJRFBZR MILTARY GRAD ROT13
  3. ALL ENCRYPTION WORKS ON T W O PRINCIPLES DIFFUSION M

    Y H A T I S A W E S O M E MTWM YIEE HSS AAO COLUMN TRANSPOSITION
  4. ALGORITHMS USE THESE TWO PRINCIPALS TO EFFICIENTLY CHANGE THE OUTPUT

    DRAMATICALLY 
 WITH LITTLE CHANGE TO THE INPUT AVALANCHE EFFECT MY HAT IS AWESOME YOUR HAT IS OK WAIT NO, I’M SORRY DON’T SHOOT YOUR HAT IS AWESOME U2FsdGVkX1+hE1zfHfxcMSOwrgW1lX +HA8zPDV7+8ZGwB2fmqyAjRVkp1QrQajJ7 U2FsdGVkX19JtdyxoZKImk56v6/ ku9ym2JBgA7ruLM44tqyuOLlaHS12bqIVCF6V U2FsdGVkX1+8HaOoyYBI3FIhT42gZbz V4ftxt329JK2rfTQuqsd6ZuS9GL+Yo8Su U2FsdGVkX188HuKoReR750+RF/fNup5T1OpHkRttVsp WBFYfQgi2WVW5xsKH9CS2nh6TwfHuiCyf6O5HtjHsAA==
  5. KEYSPACE Number of possible keys 128 OR 256 BYTES USUAL

    SPECIFIED 80 BYTES CONSIDERED SECURE
  6. XOR IS THE CAESER CIPHER OF THE DIGITAL WORLD 0

    0 0 0 0 0 0 0 1 1 1 1 1 1 A A b b
  7. BLOCK CIPHERS ONE OF THE SIMPLEST
 METHODS FOR ENCRYPTING BULK

    DATA 
 VIA AN ALGORITHM USING
 A SYMMETRICAL KEY ECB KEY CIPHER PLAINTEXT
  8. BLOCK CIPHERS CAN HAVE MANY MODES
 COMMON ONES FOR DES

    / AES
 ECB & CBC ECB KEY CIPHER PLAINTEXT
  9. MATASANO ARE MOST WORRIED ABOUT A MAN IN THE MIDDLE

    ATTACK AND THINK THAT SSL IS GOOD ENOUGH
  10. I’M MATTHEW BERGMAN MY HAT IS AWESOME! @ F O

    T O V E R I T E AND REMEMBER