Hacking Secret Ciphers with Python

A beginner's guide to cryptography and computer programming with Python

by Al Sweigart

DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

There are many books that teach beginners how to write secret messages using ciphers. There are a couple books that teach beginners how to hack ciphers. As far as I can tell, there are no books to teach beginners how to write programs to hack ciphers. This book fills that gap.

This book is for complete beginners who do not know anything about encryption, hacking, or cryptography. The ciphers in this book (except for the RSA cipher in the last chapter) are all centuries old, and modern computers now have the computational power to hack their encrypted messages. No modern organization or individuals use these ciphers anymore. As such, there's no reasonable context in which you could get into legal trouble for the information in this book.

This open book is licensed under a Creative Commons License (CC BY-NC-SA). You can download Hacking Secret Ciphers with Python ebook for free in PDF format (3.9 MB).

Table of Contents

Chapter 1
Making Paper Cryptography Tools
 
Chapter 2
Downloading and Installing Python
 
Chapter 3
The Interactive Shell
 
Chapter 4
String and Writing Programs
 
Chapter 5
The Reverse Cipher
 
Chapter 6
The Caesar Cipher
 
Chapter 7
Hacking the Caesar Cipher with the Brute Force Technique
 
Chapter 8
The Transposition Cipher, Encrypting
 
Chapter 9
The Transposition Cipher, Decrypting
 
Chapter 10
Programming a Program to Test Our Program
 
Chapter 11
Encrypting and Decrypting Files
 
Chapter 12
Detecting English Programmatically
 
Chapter 13
Hacking the Transposition Cipher
 
Chapter 14
Modular Arithmetic and the Multiplicative Cipher
 
Chapter 15
The Affine Cipher
 
Chapter 16
Hacking the Affine Cipher
 
Chapter 17
The Simple Substitution Cipher
 
Chapter 18
Hacking the Simple Substitution Cipher
 
Chapter 19
The Vigenère Cipher
 
Chapter 20
Frequency Analysis
 
Chapter 21
Hacking the Vigenère Cipher
 
Chapter 22
The One-Time Pad Cipher
 
Chapter 23
Finding Prime Numbers
 
Chapter 24
Public Key Cryptography and the RSA Cipher
 

Book Details

Subject
Computer Science
Publisher
CreateSpace
Published
2013
Pages
442
Edition
1
Language
English
ISBN13 Digital
9781482614374
ISBN10 Digital
1482614375
PDF Size
3.9 MB
License
CC BY-NC-SA

Book Hashtags

Related Books