The best option to choose is C messages: the Japanese. This choice correctly uses a colon to introduce additional information about the Japanese, clarifying that they were able to break the secret codes.
So the sentence would read:
"Even as equipment was repaired and replaced, the military struggled to relay information that needed to be kept private such as troop movements, battle plans, and tactical messages: the Japanese were able to break every secret code the military developed."