The word cryptex is a neologism coined by the author Dan Brown for his 2003 novel The Da Vinci Code, denoting a portable vault used to hide secret messages. It is a combination of the words cryptology and codex; "an apt title for this device" since it uses "the science of cryptology to protect information written on the contained scroll or codex" (p. 199 of the novel). The first physical cryptex was created by Justin Kirk Nevins in 2004.
The (first) cryptex featured in the novel is described as a stone cylinder comprising "six doughnut-sized disks of marble [that] had been stacked and affixed to one another within a delicate brass framework"; end caps make it impossible to see inside the hollow cylinder. Each of the disks is carved with the entire alphabet and, since they can be rotated individually, the disks can be aligned to spell different five-letter words.
The cryptex works "much like a bicycle's combination lock", and if one arranges the disks to spell out the correct password, "the tumblers inside align, and the entire cylinder slides apart" (p. 200). In the inner compartment of the cryptex, secret information can be hidden, written on a scroll of thin papyrus wrapped around a fragile vial of vinegar as a security measure: if one does not know the password but tries to force the cryptex open, the vial will break and the vinegar will dissolve the papyrus before it can be read.
In Season 2 episode 4, The Brothers Grimoire, of the Lifetime TV series Witches of East End, a Cryptex® Security Box is given to Dash and Killian as their inheritance from their mother.
On the NBC reality series Treasure Hunters, nested Cryptex® Security Boxes were among the puzzles that challenged contestants, and were used in the finale.
In Season 3 of the TV series Eureka, in the episode "Phased and Confused", a nearly-unbreakable cryptex is the key to a hidden underground bunker.
In the Season 4 episode "Operation Ann" of the TV series Parks and Recreation, a cryptex is given as the first clue to an elaborate scavenger hunt. The cryptex is not solved, but smashed with a hammer to reveal its message.
In episode 88 of the South Korean variety show Running Man, the cast members had to find clues attached to other staff members to open their cryptex.
In "Down the Rabbit Hole", a fourth season episode of the American TV series The Vampire Diaries, depicts a sword with a cryptex device under its hilt.