Skip to Main Content
Cracking Codes with Python
book

Cracking Codes with Python

by Al Sweigart
January 2018
Intermediate to advanced content levelIntermediate to advanced
416 pages
10h 40m
English
No Starch Press
Content preview from Cracking Codes with Python

16PROGRAMMING THE SIMPLE SUBSTITUTION CIPHER

“The internet is the most liberating tool for humanity ever invented, and also the best for surveillance. It’s not one or the other. It’s both.”—John Perry Barlow, co-founder of the Electronic Frontier Foundation

Images

In Chapter 15, you learned that the affine cipher has about a thousand possible keys but that computers can still brute-force through all of them easily. We need a cipher that has so many possible keys that no computer can brute-force through them all.

The simple substitution cipher is one such cipher that is effectively invulnerable to a brute-force attack because it has an enormous number ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Robust Python

Robust Python

Patrick Viafore

Publisher Resources

ISBN: 9781492067498