**Note: The second edition of this book is available under the title Cracking Codes with Python**

*Hacking Secret Ciphers with Python* teaches complete beginners how to program in the Python programming language. The book features the source code to several ciphers and hacking programs for these ciphers. The programs include the Caesar cipher, transposition cipher, simple substitution cipher, multiplicative & affine ciphers, Vigenere cipher, and hacking programs for each of these ciphers. The final chapters cover the modern RSA cipher and public key cryptography.

**Note: The second edition of this book is available under the title Cracking Codes with Python**

- Chapter 1 - Making Paper Cryptography Tools
- Chapter 2 - Downloading and Installing Python
- Chapter 3 - The Interactive Shell
- Chapter 4 - String and Writing Programs
- Chapter 5 - The Reverse Cipher
- Chapter 6 - The Caesar Cipher
- Chapter 7 - Hacking the Caesar Cipher with the Brute Force Technique
- Chapter 8 - The Transposition Cipher, Encrypting
- Chapter 9 - The Transposition Cipher, Decrypting
- Chapter 10 - Programming a Program to Test Our Program
- Chapter 11 - Encrypting and Decrypting Files
- Chapter 12 - Detecting English Programmatically
- Chapter 13 - Hacking the Transposition Cipher
- Chapter 14 - Modular Arithmetic and the Multiplicative Cipher
- Chapter 15 - The Affine Cipher
- Chapter 16 - Hacking the Affine Cipher
- Chapter 17 - The Simple Substitution Cipher
- Chapter 18 - Hacking the Simple Substitution Cipher
- Chapter 19 - The Vigenère Cipher
- Chapter 20 - Frequency Analysis
- Chapter 21 - Hacking the Vigenère Cipher
- Chapter 22 - The One-Time Pad Cipher
- Chapter 23 - Finding Prime Numbers
- Chapter 24 - Public Key Cryptography and the RSA Cipher