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
Automate the Boring Stuff with Python Workbook

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
The New Age of Sexism

The New Age of Sexism

How the AI Revolution is Reinventing Misogyny

Laura Bates
Paperback
Published: 2026
Where the Axe is Buried

Where the Axe is Buried

Ray Nayler
Paperback
Published: 2026
Love Machines

Love Machines

How Artificial Intelligence is Transforming Our Relationships

James Muldoon
Paperback
Published: 2026
Dark AI - Shadows of Tomorrow

Dark AI - Shadows of Tomorrow

Clara Rodriquez
Paperback
Published: 2026
The AI Paradox

The AI Paradox

How to Make Sense of a Complex Future

Virginia Dignum
Hardcover
Published: 2026
AI Ink.

AI Ink.

Writing, Publishing, and Misinformation at the Dawn of the AI Age

Jason Van Tatenhove
Hardcover
Published: 2026