Tags: python crypto xor 

Rating:

We trace back the steps of the `enc()` function in order to reverse the encryption process and decrypt the ciphertext to get the flag.

Check out the original writeup for a detailed explanation.

Original writeup (https://github.com/SababaSec/ctf-writeups/tree/master/2020/H@cktivityCon-CTF/Cryptography/Tyrannosaurus%20Rex).