Classy Cipher

Crypto
20
678

Every CTF starts off with a Caesar cipher, but we're more classy.

復号するPythonプログラムを書きます。
def decrypt(d, s):
e = ''
for c in d:
e += chr((ord(c) + 0xff - s) % 0xff)
return e
print(decrypt(':<M?TLH8<A:KFBG@V', ord(':') + 0xff - ord('a')))
フラグは、
actf{so_charming}
です。