Skip to content

Instantly share code, notes, and snippets.

@Inazuma110
Last active October 19, 2018 08:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Inazuma110/13f71e3a3d736635469d49e0cfde55e3 to your computer and use it in GitHub Desktop.
Save Inazuma110/13f71e3a3d736635469d49e0cfde55e3 to your computer and use it in GitHub Desktop.
シーザー暗号 シフト数3
cipher = 'fsdz{Fdhvdu_flskhu_lv_fodvvlfdo_flskhu}'
flag = ''
for asc in cipher:
asc = ord(asc)
if 64 < asc < 91 or 96 < asc < 123:
flag += chr(asc-3)
else:
flag += chr(asc)
print(flag)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment