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

I2TRC2_2009-Cryptography

MarsW
December 09, 2009

 I2TRC2_2009-Cryptography

2009回雄女資訊社講課

MarsW

December 09, 2009
Tweet

More Decks by MarsW

Other Decks in Education

Transcript

  1. Cryptography
    MarsW

    View full-size slide

  2. PART A: Long Long ago…

    View full-size slide

  3. 變位字
    Anagram

    View full-size slide

  4. • Tom Marvolo Riddle -> I m Lord Voldemort
    • O, Draconian devil! -> Leonardo da Vinci
    • Oh, Lame Saint -> The Mona Lisa
    • So dark the con of man -> Madonna of the rocks
    http://wordsmith.org/anagram/index.html

    View full-size slide

  5. 潮隨暗浪雪山傾,遠浦漁舟釣月明。
    橋對寺門松徑小,檻當泉眼石波清。
    迢迢綠樹江天曉,靄靄紅霞晚日晴。
    遙望四邊雲接水,碧峰千點數鷗輕。
    蘇軾 <題金山寺>

    View full-size slide

  6. PART B: Code?

    View full-size slide

  7. PART C
    Cryptography

    View full-size slide

  8. Playfair
    The KEY

    View full-size slide

  9. M A R S W
    B C D E F
    G H I/J K L
    N O P Q T
    U V X Y Z
    加密規則: 兩兩一組,相同插入x
    1.兩個字母同一列,以右邊字母取代
    2.兩個字母同一行,以下方字母取代
    3.以對角取代
    Computer Information Internet Technology Research Club
    Co mp ut er In fo rm at io nI nt er ne tx Te ch no lo gy Re se ar ch Cl ub
    HVRNZNDSGPCTSAWOHPTGONDSQBPZQFHOOPHTKUSDEKRSHOFHGM

    View full-size slide

  10. M A R S W
    B C D E F
    G H I/J K L
    N O P Q T
    U V X Y Z
    解密規則: 兩兩一組還原,去除x
    1.兩個字母同一列,以左邊字母還原
    2.兩個字母同一行,以上方字母還原
    3.以對角還原
    HVRNZNDSGPCTSAWOHPTGONDSQBPZQFHOOPHTKUSDEKRSHOFHGM
    Co mp ut er In fo rm at io nI nt er ne tx Te ch no lo gy Re se ar ch Cl ub
    Computer Information Internet Technology Research Club

    View full-size slide

  11. "112."
    "50.4*58."
    "52.2*58."
    "6.2*44.2*58."
    "6.2*44.2*58."
    "2.10*6.6*2.6*2.2*2.4*10.6*12.4*12.4*8.2*2.4*6."
    "6.2*12.2*6.2*6.2*4.2*8.2*4.2*8.2*4.2*8.2*4.2*8.2*4.2*4."
    "6.2*12.2*6.2*6.2*6.2*6.2*4.2*6.2*8.2*4.2*8.2*6.2*4.2*4."
    "6.2*14.2*2.2*8.2*6.2*6.2*4.2*6.2*8.2*4.2*8.2*6.2*4.2*4."
    "6.2*14.2*2.2*8.2*6.2*6.2*4.2*6.2*8.2*4.2*8.2*6.2*4.2*4."
    "6.2*16.2*10.2*6.2*6.2*4.2*6.2*8.2*4.2*8.2*6.2*4.2*4."
    "6.2*4.2*10.2*10.2*4.2*8.2*4.2*8.2*4.2*8.2*4.2*8.2*4.2*4."
    "8.4*12.2*10.6*8.4*4.4*8.4*12.4*8.4*4.4*2."
    "22.2*12.2*74."
    "18.4*12.6*72."
    "112."

    View full-size slide