Hacking Secret Ciphers with Python

(Ann) #1

166 http://inventwithpython.com/hacking


Email questions to the author: [email protected]


DETECTING ENGLISH


PROGRAMMATICALLY


Topics Covered In This Chapter:
 Dictionaries
 The split() Method
 The None Value
 "Divide by Zero" Errors
 The float(), int(), and str() Functions and Python 2 Division
 The append() List Method
 Default Arguments
 Calculating Percentage


The gaffer says something longer and more
complicated. After a while, Waterhouse (now
wearing his cryptoanalyst hat, searching for
meaning midst apparent randomness, his neural
circuits exploiting the redundancies in the signal)
realizes that the man is speaking heavily accented
English.
“Cryptonomicon” by Neal Stephenson
Free download pdf