Two encrypted letters written by Spanish king Ferdinand II of Aragon baffled historians. Thanks to secret service codebreakers, the mystery is now solved.