The Valley of Fear is the fourth and final Sherlock Holmes novel by Sir Arthur Conan Doyle.
Sherlock Holmes receives a cipher, without the key. He is able to deduce that it is a book cipher and after a few failed attempts, he finally deciphers the message. Holmes is able to decipher the message as a warning, and with the help of Watson, attempts to solve a crime.