๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Cracking codes with Python: an introduction to building and breaking ciphers

โœ Scribed by Sweigart, Al


Publisher
No Starch Pressinc.
Year
2017;2018
Tongue
English
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


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 Vigenere 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 Pythonmakes the learning fun!

โœฆ Table of Contents


Making paper cryptography tools --
Installing Python --
Programming in the interactive shell --
Strings and writing programs --
The reverse cipher --
The Caesar Cipher --
Hacking the Caesar Cipher with the brute-force technique --
Encrypting with the transposition cipher --
Decrypting with the transposition cipher --
Programming a program to test your program --
Encrypting and decrypting files --
Detecting English programmatically --
Hacking the transposition cipher --
Making a modular arithmetic module for the multiplicative and affine ciphers --
Programming the affine cipher --
Hacking the affine cipher --
The simple substitution cipher --
Hacking the simple substitution cipher --
Programming the vigenere cipher --
Frequency analysis --
Hacking the vigenere cipher --
The one-time pad cipher --
Finding prime numbers --
Generating keys for the RSA cipher --
Public key cryptography and programming the RSA cipher.

โœฆ Subjects


Computer Science;Programming;Science;Technology;Nonfiction;Technical;Computers


๐Ÿ“œ SIMILAR VOLUMES


Cracking Codes with Python: An Introduct
โœ Al Sweigart ๐Ÿ“‚ Library ๐Ÿ“… 2018 ๐Ÿ› No Starch Press ๐ŸŒ English

<span>Learn how to program in Python while making and breaking ciphersโ€”algorithms used to create and send secret messages!ย <br><br>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 a

Cracking Codes with Python: An Introduct
โœ Al Sweigart ๐Ÿ“‚ Library ๐Ÿ“… 2018 ๐Ÿ› No Starch Press ๐ŸŒ English

Learn how to program in Python while making and breaking ciphersโ€”algorithms used to create and send secret messages!ย <br><br>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 Vig

Cracking Codes with Python: An Introduct
โœ Al Sweigart ๐Ÿ“‚ Library ๐Ÿ“… 2018 ๐Ÿ› No Starch Press ๐ŸŒ English

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 Vigenere ci

Cracking Codes with Python: An Introduct
โœ Al Sweigart ๐Ÿ“‚ Library ๐Ÿ“… 2018 ๐Ÿ› No Starch Press ๐ŸŒ English

<span>Learn how to program in Python while making and breaking ciphersโ€”algorithms used to create and send secret messages!ย <br><br>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 a