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
Love Machines

Love Machines

How Artificial Intelligence is Transforming Our Relationships

James Muldoon
Paperback
Published: 2026
Nexus

Nexus

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

Yuval Noah Harari
Paperback
Published: 2025
The Immortalists

The Immortalists

The Death of Death and the Race for Eternal Life

Aleks Krotoski, Krotoski, Aleks
Hardcover
Published: 2025
If Anyone Builds It, Everyone Dies

If Anyone Builds It, Everyone Dies

The Case Against Superintelligent AI

Eliezer Yudkowsky
Hardcover
Published: 2025
Warhammer Video Game Art

Warhammer Video Game Art

Andy Hall, DK
Hardcover
Published: 2025
How To Think About AI

How To Think About AI

A Guide For The Perplexed

Richard Susskind
Hardcover
Published: 2025