harbor run -t LiteCoder/crack-vigenere-cipherharbor download LiteCoder/crack-vigenere-cipherYou have intercepted an encrypted message protected by a Vigenère cipher. Your mission is to crack the cipher, recover the encryption key, decrypt the message, and extract the hidden flag.
/app/input/encrypted.txt — The Vigenère-encrypted ciphertext./app/input/hint.txt — A hint file with clues about the encryption.Using Python 3, write a solution that:
/app/input/encrypted.txt.FLAG{...} from the decrypted plaintext./app/output/decrypted.txt — The full decrypted plaintext. Must be a single text file containing the entire decrypted message.
/app/output/solution.json — A JSON file with the following structure:
{
"key": "<the recovered Vigenère key in lowercase>",
"flag": "<the extracted flag, e.g. FLAG{...}>"
}
key: The Vigenère key as a lowercase alphabetic string.flag: The complete flag string including the FLAG{ prefix and } suffix, extracted exactly as it appears in the decrypted text./app/output/ must be created if it does not exist.