
I just finished reading Digital Fortress by Dan Brown, the guy who wrote The Da Vinci Code. It's a thriller about the NSA, code-breaking and cypher analysis.
And I absolutely cannot believe how bad this book was.
One of the protagonists is a woman described as being a stunningly beautiful (of course) genius-level (170 IQ or so) programmer and code-breaker working for the NSA Cryptography Division and she has no idea what quis custodiet custodes meant until someone translated it for her ("Who watches/guards the watchers/guardians"), and even then she wasn't able to grasp the larger implications of the phrase. He boyfriend/fiancé regularly signs love-notes with the phrase "without wax" as a minor code-puzzle to tease her, and she can't figure out that it's a more-or-less literal translation of the roots of the word "sincere".
Of course, she's not the only one in Crypto with this stunning lack of knowledge or competence. People who should know better have to have the most basic code systems explained to them. A high-level functionary slash accountant has to have "divide-by-zero error" explained to him. Despite surreptitiously monitoring intel from around the globe, the NSA apparently doesn't have professional linguists on staff and must hire a local university poly-linguist (the aforementioned boyfriend/fiancé) on a case-by-case basis. This lack is most glaringly obvious when a cypheranalysis team trying to decrypt a Japanese communication are unaware that Kanji can represent individual words AND syllables in a larger word. They're trying to track down an anonymous someone via his email correspondence and don't think to try anagramming his short, letters-only address until it doesn't matter anymore. They're trying to crack the self-encryption of a purportedly unbreakable encoder that uses blah-blah-blah-impossiblecakes. They're given a clue to "use the prime difference between the elements of Hiroshima and Nagasaki" and can't figure out that it's referring to the fissionable material used in the bombs until they do a fucking internet search on it! And this clue was given by the disfigured child of a Nagasaki survivor! And said clue was found WITHIN the body of the supposedly still-encrypted program!
For fuck's sake! The director of the Cryptography Division, which works heavily with electronic intel and the various permutations of the internet, doesn't know what freakin' WORMS are!
Completely aside from the characterization flaws, which might barely be forgiven as exposition for the benefit of code-ignorant readers, it's badly written! Brown repetitiously reiterates the same point over and over again in an extremely short timespan, sometimes even repetitiously reiterating the exact same wording over and over again in a repetitiously reiterating manner. He randomly has page-and-a-half long chapters. Which don't even necessarily change perspective or time-frame. And could've easily been included in the previous chapter.
Basically, the characters were idiots when it came to their jobs, the book was badly written and I successfully predicted every single "twist" the instant it was hinted at. If The Da Vinci Code was half as bad, I cannot for the life of me figure out how it got to be such a best-seller.