Cracking Codes with Python: An Introduction to Building and Breaking Ciphers (Albert Sweigart)

 
0.0 (0)
Cracking Codes with Python: An Introduction to Building and Breaking Ciphers (Albert Sweigart)

Make and decipher ciphers—algorithms used to create and send secret messages—while learning Python programming!

You'll learn to create, test, and hack programs that encrypt text with traditional ciphers like the transposition cipher and Vigenère cipher after taking a crash course in the fundamentals of Python programming. To secure today's online transactions, including digital signatures, email, and Bitcoin, public key cryptography is utilized. You'll start with basic programs for the reverse and Caesar ciphers and work your way up to it.

Each application comes with the whole source code and a line-by-line breakdown of how everything operates. By the conclusion of the book, you'll have mastered Python programming and the creative applications to show for it!

  • 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

Ebook Details

About the Authors
In San Francisco, California, software engineer Albert Sweigart (often known as Al) works. His hometown is Houston, Texas. He laughs aloud while watching the squirrels in the park, which gives the impression that he is a simpleton. His earlier works include Making Games with Python and Pygame, Invent Your Own Computer Games with Python, and Hacking Secret Ciphers with Python.
Published
Published Date / Year
(January 23, 2018)
Hardcover
416 pages
eBook Format
HTML
Language
English
ISBN-10
1593278225
ISBN-13
978-1593278229

Similar Programming & Computer Books

Une introduction à Python 3 - An introduction to Python 3 (Bob Cordeau, et al)
This free programming course, which was originally designed for Physical Measurements students at the IUT d'Orsay, is more broadly geared toward anyone who wants to learn Python as their...
Le guide de l’auto-stoppeur pour Python! - The Hitchhiker's Guide to Python! (Kenneth Reitz)
This handcrafted guide was created to serve as a guideline of best practices for installing, configuring, and using Python on a daily basis for both newbie and experienced developers....
Apprendre à programmer avec Python - Learn to program with Python (Gerard Swinnen)
The version that is easiest to read on a computer using e-book reading software is this one (such as Atril or Caliber under Linux , for example). ...
Tcl/Tk Tutorial (Tutorials Point)
A multi-paradigm, general-purpose system programming language is Tcl. It is a scripting language with the goal of enabling apps to speak to one another. ...
Mastering Perl/Tk (Steve Lidie, et al)
Perl/Tk is a strong programming language that combines the Tk graphical toolkit with Perl, which is mostly used for system management, web development, and database processing. With Perl/Tk, you...
Tcl/Tk for Programmers: With Solved Exercises that Work with Unix and Windows (J. Adrian Zimmer)
The gaps between introductions, thorough manuals, and collections of scripts that address specific issues are filled by this introduction to Tcl/Tk. On both Windows and Unix platforms, there are...
Tcl Programming (Richard Suchenwirth)
This free programming book provides a thorough introduction to the that begins with the fundamentals before broadening its focus to cover the more complex ideas, features, and programming idioms...
Dictionary of Programming Languages (Neal Ziring)
The Dictionary of Programming Languages is an online reference guide to computer coding techniques put together to educate and enhance your understanding of computer science history. Over 120 words...
A Beginner's Guide to Forth (J. V. Noble)
Programming languages of the past have nothing on the Forth programming language. It doesn't resemble C, Java, Pascal, Lisp, Python, etc. at all. ...
Thoughtful Programming and Forth (Jeff Fox)
This book was initially intended to be used in Forth programming classes, where students complete the exercises for each chapter on a computer. ...

Others Programming Books by Albert Sweigart

Hacking Secret Ciphers with Python: A Beginner's Guide to Cryptography with Python (Albert Sweigart)
In Hacking Secret Ciphers with Python, you'll learn more than just how to encrypt and decode written messages.
Become a Code Breaker with Python: A beginners guide to cryptography and computer programming with Python (Albert Sweigart)
This book explains multiple Python cipher-specific encryption algorithms as well as how to create Python programs that can crack these ciphers.
Making Games with Python and Pygame (Albert Sweigart)
The Pygame game library for the Python programming language is covered in this book on programming. The full source code for a brand-new game is provided in each chapter,...
Invent-Your-Own-Computer-Games-with-Python-40-1655927459
Invent Your very own computer video games with Python is an ebook that teaches you how to software pc video games in the Python programming language. ...

Others Programming Books by No Starch Press

Win32 Programming for x86 Assembly Language Programmers (Henry Takeuchi)
An open-source manual on writing assembly code for Windows apps. An introduction to console programs and files, a simple Win32 GUI program, popup windows and ownership, child windows, messages,...
Absolute FreeBSD: The Complete Guide to FreeBSD, 2nd Edition (Michael W. Lucas)
Authored by FreeBSD committer Michael W. Lucas, this book is your comprehensive guide to using FreeBSD.
Computer Graphics from Scratch: A Programmer's Introduction to 3D Rendering (Gabriel Gambetta)
Books on computer graphics programming are frequently math-intensive and frightening to beginners. but not this one. This book adopts a more straightforward strategy by minimizing the use of math...
Modeling and Simulation in Python: Use Computation to Predict and Explain the World (Allen B. Downey)
The skill of describing and simulating actual systems is known as physical modeling, and this book provides a detailed yet simple introduction to the subject.
The Book of GIMP: A Complete Guide to Nearly Everything (Olivier Lecarme, et al)
GIMP is a free Photoshop substitute that has a ton of high-end capabilities. But GIMP can be challenging to learn because it has so many strong tools and menu...
Clojure for the Brave and True (Daniel Higginbotham)
A useful general-purpose language, Clojure enables expressivity comparable to that of other dynamic languages like Ruby and Python while smoothly utilizing Java libraries, services, and the entire JVM environment....
The Rust Programming Language (Steve Klabnik, et al)
Rust is an open-source, community-developed systems programming language that runs incredibly quickly, avoids segfaults, and ensures thread safety. This book is the official guide to Rust. ...
Scratch Programming Playground: Learn to Program by Making Cool Games (Al Sweigart)
Millions of beginners use Scratch, a vibrant drag-and-drop programming language, and in this book, you'll learn to program by creating fun games.
Mining Social Media: Finding Stories in Internet Data (Lam Thuy Vo)
Did phony Twitter accounts influence the outcome of a presidential election? What can we learn about human behavior from Facebook and Reddit archives? This book teaches you how to...
Automate the Boring Stuff with Python: Practical Programming for Total Beginners (Al Sweigart)
You know how tiresome chores like this can be if you've ever spent hours renaming files or updating hundreds of spreadsheet cells. What if, though, your computer could perform...
Coding with Minecraft: Learn to Code by Programming Robots in Minecraft! (Al Sweigart)
a practical introduction to programming that teaches you how to make Minecraft bots do awesome things! The robotic "turtle" approach is extended in this book to the 3D, interactive...
Linux Appliance Design: A Hands-On Guide to Building Linux Appliances (Bob Smith, et al.)
The complicated devices that make up modern appliances include processors, operating systems, and application software.
How Wikipedia Works: And How You Can Be a Part of It? (Charles Matthews, et al)
You'll discover the abilities needed to use and contribute to the greatest reference work in the world in this book, including what makes quality writing and research as well...
Understanding ECMAScript 6: The Definitive Guide for JavaScript Developers (Nicholas C. Zakas)
This book serves as a transitional manual for ECMAScript 5 to 6. Because it is not environment-specific, web developers and Node.js developers can both benefit from it. ...
Statistics Done Wrong: The Woefully Complete Guide (Alex Reinhart)
Effective research is necessary for scientific advancement, and good research requires sound statistics. Even for the most intelligent among us, statistical analysis can be challenging to execute correctly. How...
The Art of R Programming: A Tour of Statistical Software Design (Norman Matloff)
The most widely used language in the world for creating statistical software is R: It is used by actuaries to evaluate financial risks and maintain stable economies, drug companies...
Hacking the Xbox: An Introduction to Reverse Engineering (Andrew Huang)
Hacking the Xbox includes step-by-step instructions on hardware modification that teach fundamental hacking techniques as well as crucial Reverse Engineering skills, demonstrating to Xbox owners how to boost the...
Python for Kids: A Playful Introduction to Programming (Jason R. Briggs)
Python is a strong, expressive, user-friendly, and simple to learn programming language. However, reading drab, dreary, and uninteresting books about learning Python programming is not enjoyable for anyone. ...
The Linux Command Line: A Complete Introduction (William E. Shotts, Jr.)
Now that you've experienced the gleaming, point-and-click exterior of your Linux PCs, descend below it and utilize the power of the command line to discover its interior. ...
The TCP/IP Guide: A Comprehensive, Illustrated Internet Protocols Reference (Charles M. Kozierok)
Both novices and seasoned professionals will find The TCP/IP Guide to be an encyclopedic and understandable guide to the TCP/IP protocol suite. It describes the fundamental TCP/IP protocols and...

User reviews

There are no user reviews for this listing.
Ratings
Rate this Book
Comments