This may refer to the short story “The Purloined Letter” by Edgar Allan Poe.