Jump to ratings and reviews
Rate this book

Hacking Secret Ciphers with Python

Rate this book
Hacking Secret Ciphers with Python teaches complete beginners how to program in the Python programming language. The book features the source code to several ciphers and hacking programs for these ciphers. The programs include the Caesar cipher, transposition cipher, simple substitution cipher, multiplicative & affine ciphers, Vigenere cipher, and hacking programs for each of these ciphers. The final chapters cover the modern RSA cipher and public key cryptography.

The full book can be found online here: https://inventwithpython.com/hacking/

416 pages, ebook

First published January 1, 2013

68 people are currently reading
278 people want to read

About the author

Al Sweigart

38 books285 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
40 (37%)
4 stars
44 (40%)
3 stars
19 (17%)
2 stars
5 (4%)
1 star
0 (0%)
Displaying 1 - 6 of 6 reviews
4 reviews
August 25, 2014
Became boring after a while - skimmed over the second half of the book. Tasks are not challenging from the programming point of view, stronger ciphers' implementation requires you to simply code algorithms which you are not supposed to fully comprehend (e.g. you sort of feel the importance of prime numbers but not quite if your math skills are naive).

I've implemented a universal coding/bruteforcing framework, played with the first few ciphers and lost any intereset. I think I don't enjoy cryptography per se.
8 reviews5 followers
May 20, 2015
Want to start programming and you're interested in ciphers? Do the following:
1 - Take the weekend off
2 - Watch The Imitation Game
3 - Spend the rest of your time on Als book

Really enjoy all of his books, haven't checked out his last one but I'm sure I'll pick it up soon! He also answered very quickly when I had some problems with his book.
Profile Image for R Phantom.
32 reviews1 follower
October 22, 2018
This book has given me a completely new way an author can explain a topic. The book started with the ABC of python3 and then ended up to RSA codes using python. Each an every line of code on every chapter is explained really well. The type of explanation given will leave nothing in doubt , specially when just referring to the book, as what usually happens with other books where many points are left taking it be obvious where many readers end up being stuck.

A very big thanks to the author , for keeping such a wonderful piece of art freely available on the internet.
At the end, I loved the "About the Author" part a lot. In-fact loved it just like how lovable the whole book was.
4 reviews
July 22, 2015
Excellent book for beginners and hobbyists because it teaches hands-on python skills while giving enough detail to understand the various codes yet not too technical so as to be overwhelming
1 review
February 22, 2016
One of the best book i've ever read . And love ur dedicate to Aa_Swartz :D
39 reviews1 follower
June 11, 2018
As Good As It Gets!

Most authors overlook the fact that simplicity and abstractness can be just as confusing as complexity of you let it (and I often do). The missing explanation of a seemingly simple concept can dramatically interfere with attaining comprehension of main principle. This is compounded by an inability to find the answer in the usual places because nobody able to explain it recognizes it's importance (hence the benefit of live training, where you can ask your "stupid" question And grasp the lesson immediately.
Mr. Sweaty uses a project for the lesson, then explains each step as clearly as possible from almost every perspective.
Now if he just comes up with an affordable "hotline" to address non-profit questions ( easing the consumer's learning curve while the consumer shows him what other areas of instruction are needed life will be as close to perfect as possible.
Displaying 1 - 6 of 6 reviews

Can't find what you're looking for?

Get help and learn more about the design.