Edgar Allan Poe's short story "The Gold Bug" revolves around a riddle that leads to the discovery of a hidden treasure. Using complex cryptography, the protagonist, with the help of his servant and a friend, deciphers a code that reveals the location of the treasure on a remote island.