Add new comment

Hacking Secret Ciphers with Python

Submitted by Erik Wegner on Tue, 10/01/2013 - 22:07
Aufmacherbild

From the blog post:

This book is aimed at people who have no experience programming or with cryptography. The book goes through writing Python programs that not only implement several ciphers but also can hack these ciphers.

It is free to download under a Creative Commons license, and available for purchase as a physical book. 100% of the proceeds from the book sales will be donated to the Electronic Frontier Foundation, Creative Commons, and The Tor Project.

Each chapter presents a new program and explains how the source code works. At the same time, various ciphers and cryptography concepts are explored. This book covers:

  • The Caesar cipher (and how to hack it)
  • The Transposition cipher (and how to hack it)
  • Writing programs to automatically test our programs
  • Encrypting files
  • Programmatically detecting English
  • The Simple substitution cipher (and how to hack it)
  • Modular arithmetic
  • The Multiplicative cipher (and how to hack it)
  • The Affine cipher (and how to hack it)
  • The Simple substitution cipher (and how to hack it)
  • The Vigenere cipher (and how to hack it)
  • Frequency analysis
  • One-time pads
  • Generating prime numbers that are hundreds of digits long
  • Public key cryptography and the RSA cipher

Website: http://inventwithpython.com/hacking/

Associated categories