caesar
Decrypt this message.
flag = ''
with open('ciphertext', 'r') as a:
flag += a.readline().strip()[8:-1]
print("start : "+flag)
num = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]
for i in num:
temp = ''
for j in flag:
num = ord(j) + i
if(num > ord('z')):
num -= 26
temp += chr(num)
print("picoCTF{"+temp+"}")
Last updated