Hacking Secret Ciphers with Python

(Ann) #1

318 http://inventwithpython.com/hacking


Email questions to the author: [email protected]


HACKING THE VIGENÈRE CIPHER


Topics Covered In This Chapter:
 The extend() list method
 The Set data type and set() function
 The itertools.product() function


Alan says, “When we want to sink a convey, we send out an
observation plane first. It is ostensibly an observation plane. Of
course, to observe is not its real duty—We already know exactly
where the convoy is. Its real duty is to be observed—That is, to fly
close enough to the convoy that it will be noticed by the lookouts on
the ships. The ships will then send out a radio message to the effect
that they have been sighted by an Allied observation plane. Then,
when we come round and sink them, the Germans will not find it
suspicious—At least, not quite so monstrously suspicious that we
knew exactly where to go.”
...
Alan says, “Unless we continue to do stunningly idiotic things like
sinking convoys in the fog, they will never receive any clear and
unmistakable indications that we have broken Enigma.”

“Cryptonomicon” by Neal Stephenson
Free download pdf