Cracking Codes with Python

An Introduction to Building and Breaking Ciphers



Bookstore > Books > Cracking Codes with Python

Cracking Codes with Python
Buy
Preview
Price$17.99 - $24.48
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. (3 books)


Similar Books


OpenCV Computer Vision with Python

OpenCV Computer Vision with Python

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 data for...
Hands-On Bitcoin Programming with Python

Hands-On Bitcoin Programming with Python

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 how t...
Learning Selenium Testing Tools with Python

Learning Selenium Testing Tools with Python

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 and ma...
Building Machine Learning Systems with Python, 2nd Edition

Building Machine Learning Systems with Python, 2nd Edition

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...
Internet of Things with Python

Internet of Things with Python

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 you to in...
Hands-On MQTT Programming with Python

Hands-On MQTT Programming with Python

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 ...