Cracking Codes with Python

An Introduction to Building and Breaking Ciphers



Bookstore > Books > Cracking Codes with Python

Price$17.99 - $18.00
Rating
AuthorAl Sweigart
PublisherNo Starch Press
Published2018
Pages424
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101593278225
ISBN-139781593278229
EBook Hardcover Paperback

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!


  1. (9 books)



4 5 35

Similar Books


OpenCV Computer Vision with Python

OpenCV Computer Vision with Python

by Joseph Howse

Computer Vision can reach consumers in various contexts via webcams, camera phones and gaming sensors like Kinect. OpenCV's Python bindings can help developers meet these consumer demands for applications that capture images, change their appearance and extract information from them, in a high-level language and in a standardized dat...

Price:  $16.07  |  Publisher:  Packt Publishing  |  Release:  2013

Hands-On Bitcoin Programming with Python

Hands-On Bitcoin Programming with Python

by Harish Kumar Garg

Bitcoin is a cryptocurrency that's changing the face of online payments. Hands-On Bitcoin Programming with Python teaches you to build software applications for mining and creating Bitcoins using Python.This book starts with the basics of both Bitcoin and blockchain and gives you an overview of these inherent concepts by showing you ...

Price:  $24.99  |  Publisher:  Packt Publishing  |  Release:  2018

Learn Web Development with Python

Learn Web Development with Python

by Fabrizio Romano, Gaston C. Hillar, Arun Ravindran

If you want to develop complete Python web apps with Django, this Learning Path is for you. It will walk you through Python programming techniques and guide you in implementing them when creating 4 professional Django projects, teaching you how to solve common problems and develop RESTful web services with Django and Python. You will lear...

Price:  $49.99  |  Publisher:  Packt Publishing  |  Release:  2018

Math Adventures with Python

Math Adventures with Python

by Peter Farrell

Math Adventures with Python will show you how to harness the power of programming to keep math relevant and fun. With the aid of the Python programming language, you'll learn how to visualize solutions to a range of math problems as you use code to explore key mathematical concepts like algebra, trigonometry, matrices, and cellular a...

Price:  $17.78  |  Publisher:  No Starch Press  |  Release:  2019

Learning Selenium Testing Tools with Python

Learning Selenium Testing Tools with Python

by Unmesh Gundecha

Selenium WebDriver is a popular automated testing tool for web applications. Python is one of the top programming languages and when used with Selenium it can automate and test web applications. Using Python's unittest module, you can write test cases in Selenium. Over the years, Selenium has become a very powerful testing platform a...

Price:  $38.99  |  Publisher:  Packt Publishing  |  Release:  2014

Building Machine Learning Systems with Python, 2nd Edition

Building Machine Learning Systems with Python, 2nd Edition

by Luis Pedro Coelho, Willi Richert

Using machine learning to gain deeper insights from data is a key skill required by modern application developers and analysts alike. Python is a wonderful language to develop machine learning applications. As a dynamic language, it allows for fast exploration and experimentation. With its excellent collection of open source machine learn...

Price:  $49.99  |  Publisher:  Packt Publishing  |  Release:  2015

Internet of Things with Python

Internet of Things with Python

by Gaston C. Hillar

Internet of Things (IoT) is revolutionizing the way devices/things interact with each other. And when you have IoT with Python on your side, you'll be able to build interactive objects and design them.This book lets you stay at the forefront of cutting-edge research on IoT. We'll open up the possibilities using tools that enable...

Price:  $34.99  |  Publisher:  Packt Publishing  |  Release:  2016

Hands-On MQTT Programming with Python

Hands-On MQTT Programming with Python

by Gaston C. Hillar

MQTT is a lightweight messaging protocol for small sensors and mobile devices. This book explores the features of the latest versions of MQTT for IoT and M2M communications, how to use them with Python 3, and allow you to interact with sensors and actuators using Python.The book begins with the specific vocabulary of MQTT and its working ...

Price:  $34.99  |  Publisher:  Packt Publishing  |  Release:  2018