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

How to Send a Secret Message

How to Send a Secret Message

Breandan Considine

September 17, 2016
Tweet

More Decks by Breandan Considine

Other Decks in Education

Transcript

  1. How to Send a Secret Message GZS WZ PMJR Y

    PMTDMW NMPPYKM Breandan Considine QDMYJRYJ TZJPOROJM Nikhil Nanivadekar JOBGOC JYJOVYRMBYD
  2. U V W X Y Z A B C D

    E F G H I J K L M N O Q P R S T 1 2 3 4 5 6 7 8 9 0
  3. 31 32 33 34 35 36 37 13 14 15

    16 17 30 38 3 4 5 12 18 29 39 1 2 6 11 19 28 40 7 8 9 10 20 27 41 21 22 23 24 25 26 42 43 44 45 46 47 48 49...
  4. 31 37 13 17 3 5 29 2 11 19

    7 41 23 43 47 ...
  5. Step #2: Choose a number e, that is co-prime to

    (p-1)(q-1) (let’s call ^ φ)
  6. Step #6a: Where d is the inverse modulus of e

    (mod φ) ie. e*d = 1 (mod (p-1)(q-1))