I made some code for a game I and then lost my decoder tool. Note: the flag should be the plaintext of flag.jpg in lowercase with underscores instead of spaces. e.g. if the plaintext is "i like bananas" the flag would be bkctf{i_like_bananas}
bkctf{i_like_bananas}