The type of cipher was clearly stated as a substitution cipher in the book, something which made the deciphering rather straight-forward.