Can you get sense of this code file and write the function that will decode the given encrypted file content.
Find the encrypted file here flag_info and code file might be good to analyze and get the flag.
Solution
First download the given files.
The custom_encryption.py has the code that they used to encrypt the flag and the output file contains the values they used to do so and the final cipher.
I have made the following python script to decrypt the given cipher. After running the below script, you will get the flag.