Baby essentials delivered 
Shop now
Buy New
-55% $17.97
FREE delivery December 10 - 16
Ships from: Yanakman
Sold by: Yanakman
$17.97 with 55 percent savings
List Price: $39.99
FREE delivery December 10 - 16. Details
Or fastest delivery Tuesday, December 8. Order within 2 hrs 10 mins. Details
Only 1 left in stock - order soon.
$$17.97 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$17.97
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Shipper / Seller
Yanakman
Shipper / Seller
Returns
Returnable until Jan 31, 2027
Returnable until Jan 31, 2027
For the 2026 holiday season, eligible items purchased between November 1 and December 31, 2026 can be returned until January 31, 2027.
Quick refund
Usually issued within 24 hours. See exceptions
Shipping fee
May apply, not eligible for free return. See details
Convenient dropoff
At any of our 50,000 US locations.
See return policy
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$6.63
May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less See less
FREE delivery Saturday, December 12. Details
In stock
$$17.97 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$17.97
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from and sold by ThriftBooks-Chicago.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

  • Cracking Codes with Python: An Introduction to Building and Breaking Ciphers

Follow the author

Follow authors for new release and deal updates, plus improved recommendations. See updates from all followed authors in Your Books.
Something went wrong. Please try your request again later.

Cracking Codes with Python: An Introduction to Building and Breaking Ciphers

4.7 out of 5 stars (400)

{"desktop_buybox_group_1":[{"displayPrice":"$17.97","priceAmount":17.97,"currencySymbol":"$","integerValue":"17","decimalSeparator":".","fractionalValue":"97","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"F1VkdTJRCF1ppX%2FeyHwMbmFkFxaZyRIp%2FJkppzr8pHBqqwIst2NWXvM13LpCwMOT04dYKOdhGrM2ev9Ly3v9fVrb1UooWYg4mR%2F4TzqPzdnEiXjeFlLlopdngt9d5Wb5ioL7DY7cQaycuR3svtq%2FBKyn1HtkGjtAQRD6ChirmlJebZ8q2k9IG2Hhjgn6oVcP","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$6.63","priceAmount":6.63,"currencySymbol":"$","integerValue":"6","decimalSeparator":".","fractionalValue":"63","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"F1VkdTJRCF1ppX%2FeyHwMbmFkFxaZyRIpynEQBAMt60z8ypPqtQXURtee5VI%2FU3EfeIx2FGpk1FMuCMSugkfF%2FKHGb96rO3w9XbB7ur7XUmXbgCj1l0y1VqRq2cldSLURORQXOO7cDXY5yFRtGCPblGjYdXh8lrqhdLV7cNq%2Byho4mATfpgIhEg%3D%3D","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

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!
Coding books for children
Get inspired with more coding books for children. Browse the selection.

Frequently bought together

This item: Cracking Codes with Python: An Introduction to Building and Breaking Ciphers
$20.18
Get it as soon as Friday, Dec 18
Sold by FLORİDA and ships from Amazon Fulfillment.
+
$37.77
Get it as soon as Saturday, Dec 12
Sold by BMB Inc. and ships from Amazon Fulfillment.
+
$22.78
Get it as soon as Wednesday, Dec 9
In Stock
Ships from and sold by Amazon.com.
Total price:$00
To see our price, add these items to your cart.
Details
Added to Cart
Some of these items ship sooner than the others.
Choose items to buy together.

Customers also bought or read

Loading...

Editorial Reviews

Review

“Definitely worth the read even as an experienced Python developer. I learned more about cryptography and even a few new Python tricks.”
—Ray Doyle,
The Ethical Hacker Network

“I recommend this book for anyone who wants to learn Python/programming and is interested in security or puzzles.”
—Jeanne Boyarsky,
Code Ranch

“A fantastic programming and cryptography course for any high school-aged child.”
—The Old Schoolhouse Magazine

About the Author

Al Sweigart is a professional software developer who teaches programming to kids and adults. He is the author of Automate the Boring Stuff with Python, Invent Your Own Computer Games with Python, and Scratch Programming Playground, also from No Starch Press. His programming tutorials can be found at inventwithpython.com.

Product details

  • Publisher ‏ : ‎ No Starch Press
  • Publication date ‏ : ‎ January 23, 2018
  • Edition ‏ : ‎ Illustrated
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 416 pages
  • ISBN-10 ‏ : ‎ 1593278225
  • ISBN-13 ‏ : ‎ 978-1593278229
  • Item Weight ‏ : ‎ 1.75 pounds
  • Reading age ‏ : ‎ 12 years and up
  • Dimensions ‏ : ‎ 7.05 x 0.94 x 9.25 inches
  • Best Sellers Rank: #736,896 in Books (See Top 100 in Books)
  • Customer Reviews:
    4.7 out of 5 stars (400)

About the author

Follow authors for new release and deal updates, plus improved recommendations. See updates from all followed authors in Your Books.
Al Sweigart
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Al Sweigart is a software developer and tech book author living in Houston. He has written several programming books for beginners, including Automate the Boring Stuff with Python. His books are freely available under a Creative Commons license at his website https://inventwithpython.com.

Customer reviews

4.7 out of 5 stars
400 global ratings

Customers say

Customers find the book to be a brilliant primer on basic Python programming practices. They appreciate its comprehensive approach, with one customer noting how it walks through from basic data types and decision structures, while another mentions the companion website with answers to practice problems.
AI Generated from the text of customer reviews

Select to learn more

16 customers mention comprehensive, 13 positive, 3 negative
Customers find the book comprehensive and well-structured, serving as a brilliant primer on basic Python programming practices. One customer notes that it walks readers through from basic data types and decision structures, while another mentions that it provides a companion website with answers to all the practice problems.
As a Python tutorial, it is superb - comprehensive, well organized and painless....Read more
...& Network Security, this book makes learning python more interesting & useful. Highly recommended.Read more
Good tutorial of basic python programming with the added bonus of interesting introduction to encrypting and decrypting old ciphers....Read more
Not much to dislike here guys! It's good to have some basic knowledge of python in hand. However, if you don't just take it one chapter at a time....Read more
11 customers mention content, 10 positive, 1 negative
Customers find the book engaging, with one mentioning it makes learning Python more interesting, while another notes it keeps beginners busy with exercises.
Great Book really breaks down the fundamentals of cracking.Read more
Good oneRead more
As a Python tutorial, it is superb - comprehensive, well organized and painless....Read more
Not much to dislike here guys! It's good to have some basic knowledge of python in hand. However, if you don't just take it one chapter at a time....Read more
Sign in to see customer reviews.