Samuel Pepys wrote his diary in Shelton's shorthand. The first published edition, in 1825, rests on the work of an undergraduate named John Smith, who spent roughly three years deciphering it.
Then comes the detail that makes the story travel. By most accounts, a manual of the same shorthand system sat in Pepys's own library, shelved nearby, and Smith worked without noticing it. The story goes that the key was in the room the whole time.
I would treat that carefully. It is the kind of detail that gets repeated because it is funny, and "by most accounts" is doing a lot of work in that sentence. But even if it is true, it cuts the other way from how it is usually told. Three years of decoding without a key is a harder job than three years with one. The joke makes Smith look slow. The fact, if it holds, makes him look stubborn in a useful way.
Meanwhile the name on every edition is the diarist's, and the person who made him readable is a footnote. That is the normal division of credit in publishing: the author is the brand, the labour is overhead.
Who else in the canon do we read only through a decoder whose name we never learned?