#!/usr/bin/env python # visit https://tool.lu/pyc/ for more information import base64
defencode(): flag = '*************' ciphertext = [] for i inrange(len(flag)): s = chr(i ^ ord(flag[i])) if i % 2 == 0: s = ord(s) + 10 else: s = ord(s) - 10 ciphertext.append(str(s)) return ciphertext[::-1]