Cracking Codes With Python

An Introduction to Building and Breaking Ciphers

(Author) Al Sweigart
Format: Paperback
£28.99 Price: £27.18 (6% off)
Generally dispatched in 1 to 2 days

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!

Information
Publisher:
No Starch Press,US
Format:
Paperback
Number of pages:
419
Language:
en
ISBN:
9781593278229
Publish year:
2018
Publish date:
Jan. 23, 2018

Al Sweigart

Al Sweigart is a prolific author and computer programmer best known for his book "Automate the Boring Stuff with Python," a groundbreaking guide to programming for non-technical individuals. His clear and accessible writing style has made complex concepts easy to understand, making him a valuable resource for aspiring programmers worldwide.

Reviews

Leave a review

Please login to leave a review.

Be the first to review this product

Other related

Automate the Boring Stuff with Python, 3rd Edition

Automate the Boring Stuff with Python, 3rd Edition

Al Sweigart
Paperback
Published: 2025
Default Cover

Automate the Boring Stuff with Python Workbook

Projects and Exercises to Sharpen Your Python Skills

Al Sweigart
Paperback
Published: 2025
Automate The Boring Stuff With Python, 2nd Edition

Automate The Boring Stuff With Python, 2nd Edition

Practical Programming for Total Beginners

Al Sweigart
Paperback
Published: 2019
Nexus

Nexus

A Brief History of Information Networks from the Stone Age to AI

Yuval Noah Harari
Paperback
Published: 2025
How To Think About AI

How To Think About AI

A Guide For The Perplexed

Richard Susskind
Hardcover
Published: 2025
The New Age of Sexism

The New Age of Sexism

How the AI Revolution is Reinventing Misogyny

Laura Bates
Hardcover
Published: 2025
The Smartphone Solution

The Smartphone Solution

Helping Your Family Thrive in a Digital Age

Dr Martha Deiros Collado
Paperback
Published: 2025
How AI Thinks

How AI Thinks

How we built it, how it can help us, and how we can control it

Nigel Toon
Paperback
Published: 2025
God, AI and the End of History

God, AI and the End of History

Understanding the Book of Revelation in an Age of Intelligent Machines

John C. Lennox
Hardcover
Published: 2025