Description
babyrev 21396248439622427630725957360971978068187168186890
Attachments
import random
flag = open("flag.txt", "r").readline()
random.seed(42)
a = random.randint(1, 100)
def encrypt(string):
s = ""
for n in string:
n = ord(n)
n = n * 3 + 65 - 32 + a
n = str(int(str(int(str(int(str(int(str(n)[1:]))))))))
s += n
return s
print(encrypt(flag))```
Writeup
Reverse the operations and guess where the character boundaries are.
Flag
flag{l1ght_w0rk_b4by_3e43e3}