首页 > 代码库 > WeChall_Training: Crypto - Caesar I (Crypto, Training)
WeChall_Training: Crypto - Caesar I (Crypto, Training)
As on most challenge sites, there are some beginner cryptos, and often you get started with the good old caesar cipher.
I welcome you to the WeChall style of these training challenges :)
Enjoy!
I welcome you to the WeChall style of these training challenges :)
Enjoy!
VJG SWKEM DTQYP HQZ LWORU QXGT VJG NCBA FQI QH ECGUCT CPF AQWT WPKSWG UQNWVKQP KU TRNRHNKFUHKG
解题:
凯撒密码,枚举25次位移。
找到正确的句子。
a = ‘VJG SWKEM DTQYP HQZ LWORU QXGT VJG NCBA FQI QH ECGUCT CPF AQWT WPKSWG UQNWVKQP KU TRNRHNKFUHKG‘for i in range(1,26): ans = [] for each in a: if each == ‘ ‘: ans.append(‘ ‘) else: temp = ord(each)+i if temp > ord(‘Z‘): temp -= 26 temp = chr(temp) ans.append(temp) for each in ans: print(each,end = ‘‘) print(‘‘)
WeChall_Training: Crypto - Caesar I (Crypto, Training)
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。