> Skip to content

In Cracking Codes with Python, you’ll learn how to program in Python while making and breaking ciphers, which are used to encrypt secret messages. (No programming experience required!).

After a quick crash course in programming, you’ll make, test, and hack classic cipher programs. You’ll begin with simple programs like the Caesar cipher and then work your way up to public key cryptography and the RSA cipher, which is used for modern secure data transmissions.
Each program comes with the full code and a line-by-line explanation of how things work. By book’s end, you’ll walk away with a solid foundation in Python and same crafty programs under your belt.

Learn how to:
-Combine loops, variables, and flow control statements into real working programs
-Use dictionary files to instantly detect whether text is English or nonsense
-Create programs to test that the code you’ve written is working correctly
-Write your own programming modules that you can import and use in other programs
-Debug your programs and find common errors

Cracking Codes with Python is a chance to pick up some Python skills while getting a peek into the intriguing world of cryptography—what more could an aspiring hacker want?

Formats & editions

  • Paperback


    January 15, 2018

    No Starch

    464 pages

    RRP $52.99

    Online retailers

    • Abbey's Bookshop
    • Amazon
    • Angus & Robertson Bookworld
    • Booktopia
    • Boomerang Books
    • Collins Booksellers
    • Dymocks
    • Books Kinokuniya
    • The Nile
    • QBD
    • Readings
    • Robinsons Bookshop

    Find your local bookstore at booksellers.org.au