Hacking Secret Ciphers with Python

(Ann) #1

356 http://inventwithpython.com/hacking


Email questions to the author: [email protected]


THE ONE-TIME PAD CIPHER


Topics Covered In This Chapter:
 The Unbreakable One-Time Pad Cipher
 The Two-Time Pad is the Vigenère Cipher


“I’ve been over it a thousand times,” Waterhouse
says, “and the only explanation I can think of is
that they are converting their messages into large
binary numbers and then combining them with
other large binary numbers —one-time pads, most
likely —to produce the ciphertext.”

“In which case your project is doomed," Alan says,
"because you can't break a one-time pad.”

“Cryptonomicon” by Neal Stephenson
Free download pdf