这道题看起来不像是逆向,更像是密码学 =_=
import random
# TODO: Remember to remove real flag before deploying
flag = 'csictf{fake_flag}'
key = 'fake_key'
def enc1(text):
r = random.randint(1,25)
return bytes.fromhex(''.join([hex(((ord(i) - ord('a') - r) % 26) + ord('a'))[2:] for i in text])).decode('ascii')
def enc2(text, key):
k = [key[i % len(key)] for i