Untitled
unknown
plain_text
2 years ago
258 B
4
Indexable
Never
def rol(x, n): for _ in range(n): x = ((x<<1)&0xff) | ((x>>7)&1) return x b = bytearray(open('flag.txt.aes', 'rb').read()) size = len(b) print(f'size: {size}') i = 1 for j in range(size): b[j] = rol(b[j], i) i += 1 print(b.decode())