in his research , painter read how john turnbull had offered some obfuscating answers , but none satisfactory-and it was indeed thomas jefferson , master of ciphers and codes , who oversaw the completion of this masterwork .