Cracking Codes With Python

An Introduction to Building and Breaking Ciphers

(Author) Al Sweigart
Format: Paperback
28.99 Price: £20.84 (28% off)
In Stock

Learn how to program in Python while making and breaking ciphers—algorithms used to create and send secret messages! After a crash course in Python programming basics, you’ll learn to make, test, and hack programs that encrypt text with classical ciphers like the transposition cipher and Vigenère cipher. You’ll begin with simple programs for the reverse and Caesar ciphers and then work your way up to public key cryptography, the type of encryption used to secure today’s online transactions, including digital signatures, email, and Bitcoin. Each program includes the full code and a line-by-line explanation of how things work. By the end of the book, you’ll have learned how to code in Python and you’ll have the clever programs to prove it! You’ll also learn how to: - Combine loops, variables, and flow control statements into real working programs - Use dictionary files to instantly detect whether decrypted messages are valid English or gibberish - Create test programs to make sure that your code encrypts and decrypts correctly - Code (and hack!) a working example of the affine cipher, which uses modular arithmetic to encrypt a message - Break ciphers with techniques such as brute-force and frequency analysis There’s no better way to learn to code than to play with real programs. Cracking Codes with Python makes the learning fun!

Information
Publisher:
No Starch Press,US
Format:
Paperback
Number of pages:
419
Language:
en
ISBN:
9781593278229
Publish year:
2018
Publish date:
Jan. 23, 2018

Al Sweigart

Al Sweigart is a prolific author and computer programmer best known for his book "Automate the Boring Stuff with Python," a groundbreaking guide to programming for non-technical individuals. His clear and accessible writing style has made complex concepts easy to understand, making him a valuable resource for aspiring programmers worldwide.

Reviews

Leave a review

Please login to leave a review.

Be the first to review this product

Other related

Automate the Boring Stuff with Python, 3rd Edition

Automate the Boring Stuff with Python, 3rd Edition

Al Sweigart
Paperback
Published: 2025
Default Cover

The Recursive Book Of Recursion

Ace the Coding Interview with Python and Javascript

Al Sweigart
Paperback
Published: 2022
Scratch 3 Programming Playground

Scratch 3 Programming Playground

Learn to Program by Making Cool Games

Al Sweigart
Paperback
Published: 2021
The Big Book Of Small Python Projects

The Big Book Of Small Python Projects

81 Easy Practice Programs

Al Sweigart
Paperback
Published: 2021
Default Cover

Beyond The Basic Stuff With Python

Best Practices for Writing Clean Code

Al Sweigart
Paperback
Published: 2020
Automate The Boring Stuff With Python, 2nd Edition

Automate The Boring Stuff With Python, 2nd Edition

Practical Programming for Total Beginners

Al Sweigart
Paperback
Published: 2019
Mastering Ruby

Mastering Ruby

A Beginner's Guide

Sufyan bin Uzayr
Paperback
Default Cover

The Mind Manual

Your Complete Mental Fitness Toolkit: Quick Reads edition

Dr Alex George
Paperback
Published: 2025
Default Cover

Minecraft Magical Bite-Size Builds

Mojang AB
Hardcover
Published: 2025
These Strange New Minds

These Strange New Minds

How AI Learned to Talk and What It Means

Christopher Summerfield
Hardcover
Published: 2025
Strangers and Intimates

Strangers and Intimates

The Rise and Fall of Private Life

Tiffany Jenkins
Hardcover
Published: 2025
Default Cover

Smartphone Nation

Why We're All Addicted To Screens And What You Can Do About It

Kaitlyn Regehr
Hardcover
Published: 2025