Self-keyed flag
A lazy programmer, too lazy to come up with a key, took the beginning of the flag itself as the key and performed a repeating XOR on the flag with this key: ct[i] = flag[i] ^ flag[i % L], where L is the key length, i.e. the number of bytes taken from the beginning of the flag. The value of L is not told to you.
Both the plaintext and the key are the one and same secret string. Statistics will not help here — the text is too short. The only anchor point: we know the flag format, it starts with BAYROQ{ and ends with }, and inside there will only be A-Z a-z 0-9 _ characters.
This is the crib dragging technique: placing a known part (crib) over the ciphertext to extract information about the key from it, and then brute-forcing the remaining unknown bytes within a narrow set.
Ciphertext (hex):
000000000000000000101e6928106101695e731e326623600f0741732d3e6621
0e196c493071282f
There will be many candidates, so we provide an exact check — the SHA-256 value of the correct flag:
5719819430556a72988a16c10c185a41ddc5da86ef608cbfd8d259edcbfe1fd8
Look very carefully at the beginning of the ciphertext. There is a ready answer to the question about the key length there — think about why this has happened.