Unpadded RSA determinism
"Textbook RSA" is pure me mod n without padding. Its biggest flaw is determinism: the same message always turns into the same ciphertext.
If the set of possible messages is small (yes/no, A/B/C/D, PIN code, name), an attacker uses the public key to encrypt all options themselves and creates a table. Then they search for the intercepted ciphertext in this table — a private key is not needed at all.
The test system stored the answer to each question encrypted separately. The answer option is only one character: A, B, C or D (encrypted as a single byte). The 16 ciphertexts are in the javoblar.txt file — from c01 to c16, in order.
Recover the answer string consisting of 16 characters.
Flag: BAYROQ{RS4_determinizm_<16_belgi>} — for example BAYROQ{RS4_determinizm_ABCDABCDABCDABCD}.