跳转至
2017 | ISCC | Crypto

转轮机加密

题目

01: < ZWAXJGDLUBVIQHKYPNTCRMOSFE <
02: < KPBELNACZDTRXMJQOYHGVSFUWI <
03: < BDMAIZVRNSJUWFHTEQGYXPLOCK <
04: < RPLNDVHGFCUKTEBSXQYIZMJWAO <
05: < IHFRLABEUOTSGJVDKCPMNZQWXY <
06: < AMKGHIWPNYCJBFZDRUSLOQXVET <
07: < GWTHSPYBXIZULVKMRAFDCEONJQ <
08: < NOZUTWDCVRJLXKISEFAPMYGHBQ <
09: < XPLTDSRFHENYVUBMCQWAOIKZGJ <
10: < UDNAJFBOWTGVRSCZQKELMXYIHP <
11: < MNBVCXZQWERTPOIUYALSKDJFHG <
12: < LVNCMXZPQOWEIURYTASBKJDFHG <
13: < JZQAWSXCDERFVBGTYHNUMKILOP <

密钥为: 2, 3, 7, 5, 13, 12, 9, 1, 8, 10, 4, 11, 6
密文为: NFQKSEVOQOFNP

解题思路

  • 先按密钥顺序对行进行排序,对每一行,滚动字母表使密文字符位于同一列(如首列)

    Line Alphabets
    2
    NACZDTRXMJQOYHGVSFUWIKPBEL
    3
    FHTEQGYXPLOCKBDMAIZVRNSJUW
    7
    QGWTHSPYBXIZULVKMRAFDCEONJ
    5
    KCPMNZQWXYIHFRLABEUOTSGJVD
    13
    SXCDERFVBGTYHNUMKILOPJZQAW
    12
    EIURYTASBKJDFHGLVNCMXZPQOW
    9
    VUBMCQWAOIKZGJXPLTDSRFHENY
    1
    OSFEZWAXJGDLUBVIQHKYPNTCRM
    8
    QNOZUTWDCVRJLXKISEFAPMYGHB
    10
    OWTGVRSCZQKELMXYIHPUDNAJFB
    4
    FCUKTEBSXQYIZMJWAORPLNDVHG
    11
    NBVCXZQWERTPOIUYALSKDJFHGM
    6
    PNYCJBFZDRUSLOQXVETAMKGHIW
  • 依次查看每一列,找到有实际意义的即为 Flag:FIREINTHEHOLE

参考资料

Jefferson disk - Wikipedia


最后更新: 2020年11月20日 11:20:19
Contributors: YanhuiJessica

评论