Cracking codes with Python : an introduction to building and breaking ciphers / by Al Sweigart.
"Presents a crash course in Python programming, followed by instructions for making, testing, and hacking classic cipher programs, from the Caesar cipher to public key cryptography and the RSA cipher"-- Provided by publisher.
Record details
- ISBN: 9781593278229
- ISBN: 1593278225
- Physical Description: xxviii, 387 pages : illustrations ; 24 cm
- Publisher: San Francisco : No Starch Press, [2018]
Content descriptions
General Note: | Includes index. |
Formatted Contents Note: | 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. |
Search for related items by subject
Genre: | Nonfiction. |
Show Only Available Copies
Location | Call Number / Copy Notes | Barcode | Shelving Location | Status | Due Date |
---|---|---|---|---|---|
Homer Public Library | YA 005.87 SWE (Text) | 000160107 | Teen Corner -- Nonfiction | Available | - |
Cracking Codes with Python : An Introduction to Building and Breaking Ciphers
Click an element below to view details:
Summary
Cracking Codes with Python : An Introduction to Building and Breaking Ciphers
Cracking Secret Codes with Python is a hands-on introduction to Python that teaches readers how to make and hack cipher programs, which are used to encrypt secret messages. It covers ciphers like the Caesar cipher, transposition cipher, and the RSA cipher, and teaches readers how to test and hack them. For every program, Sweigart provides the full source code and then walks readers through it, explaining how every line works. Along the way, readers will learn Python fundamentals - and by the book's end, they'll have a solid foundation in Python and some fun programs under their belt.