A coded letter signed in 1547 by the most powerful ruler in Europe has been cracked by French scientists, revealing that he lived in fear of an assassination attempt by an Italian mercenary.