For the first challenge, we are given a game written in Python. Luckily the source code is also given, so let's dig into the source code directly.
The source code is not that long, and quickly we noticed the GenerateFlagText
function. If we read this line closely:
return ''.join([chr(ord(c) ^ key) for c in encoded])