Buy New
-
To see product details, add this item to your cart.
Ships from: Amazon Sold by: Sinaloense
Buy New
-
To see product details, add this item to your cart.
Ships from: Amazon
Sold by: Sinaloense
Get it faster
-
To see product details, add this item to your cart.
Ships from: Amazon.com Sold by: Amazon.com
Get it faster
-
To see product details, add this item to your cart.
Ships from: Amazon.com
Sold by: Amazon.com
Used - Good
-
To see product details, add this item to your cart.
Ships from: ThriftBooks-Dallas Sold by: ThriftBooks-Dallas
Used - Good
-
To see product details, add this item to your cart.
Ships from: ThriftBooks-Dallas
Sold by: ThriftBooks-Dallas
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.
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.
OK
Cracking Codes with Python: An Introduction to Building and Breaking Ciphers
Sorry, there was a problem loading this page. Try again.
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!
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!
- ISBN-101593278225
- ISBN-13978-1593278229
- EditionIllustrated
- PublisherNo Starch Press
- Publication dateJanuary 23, 2018
- LanguageEnglish
- Dimensions7.05 x 0.94 x 9.25 inches
- Print length416 pages
Customers who viewed this item also viewed
Page 1 of 1 Start over
- The Big Book of Small Python Projects: 81 Easy Practice ProgramsPaperback$14.98 shippingGet it Nov 4 - Dec 14Only 13 left in stock - order soon.
Customers also bought or read
Page 1 of 1Start over
- The Big Book of Small Python Projects: 81 Easy Practice Programs
Paperback$32.91$32.91$14.98 delivery Nov 4 - Dec 14 - The Art of Clean Code: Best Practices to Eliminate Complexity and Simplify Your Life
Paperback$33.23$33.23$11.49 delivery Nov 18 - Dec 28
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
—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: #572,951 in Books (See Top 100 in Books)
- #145 in Web Encryption
- #160 in Computer Cryptography
- #303 in Computer Hacking
- Customer Reviews:
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 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.






































