没有合适的资源?快使用搜索试试~ 我知道了~
首页Cracking Codes with Python (True PDF)
Cracking Codes with Python (True PDF)
需积分: 10 192 浏览量
更新于2023-05-27
评论
收藏 7.62MB PDF 举报
Cracking Codes with Python: An Introduction to Building and Breaking Ciphers (True PDF)
资源详情
资源评论
资源推荐

CRACKING CODES
WITH PYTHON
CRACKING CODES
WITH PYTHON
AN INTRODUCTION TO
BUILDING AND BREAKING CIPHERS
AL SWEIGART
SECRET CIPHERS
BY HACKING
LEARN PYTHON
SECRET CIPHERS
BY HACKING
LEARN PYTHON
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 Vigenère 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 Python makes the
learning fun!
ABOUT THE AUTHOR
Al Sweigart is a professional software developer
who teaches programming to kids and adults. He is
the author of Automate the Boring Stuff with Python,
Invent Your Own Computer Games with Python,
and Scratch Programming Playground, also from
No Starch Press. His programming tutorials can
be found at inventwithpython.com.
www.nostarch.com
THE FINE ST IN GEEK E NTERTAINMENT
™
“I L IE FL AT.”
This book uses a durable binding that won’t sna p shut.
FSC FPO
SHELVE IN: PROGRAMMING
LANGUAGES/PYTHON
$29.95 ($39.95 CDN)
COVERS
PYTHON 3
CRACKING CODES WITH PYTHON
CRACKING CODES WITH PYTHON
SWEIGART

CRACKING CODES WITH PYTHON


CRACKING
CODES WITH
PYTHON
An Introduction to Building
and Breaking Ciphers
by Al Sweigart
San Francisco

CRACKING CODES WITH PYTHON. Copyright © 2018 by Al Sweigart.
Some rights reserved. This work is licensed under the Creative Commons Attribution-NonCommercial-
ShareAlike 3.0 United States License. To view a copy of this license, visit http://creativecommons.org/licenses/
by-nc-sa/3.0/us/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
ISBN-10: 1-59327-822-5
ISBN-13: 978-1-59327-822-9
Publisher: William Pollock
Production Editor: Riley Hoffman
Cover Illustration: Josh Ellingson
Interior Design: Octopod Studios
Developmental Editors: Jan Cash and Annie Choi
Technical Reviewers: Ari Lacenski and Jean-Philippe Aumasson
Copyeditor: Anne Marie Walker
Compositors: Riley Hoffman and Meg Sneeringer
Proofreader: Paula L. Fleming
For information on distribution, translations, or bulk sales,
please contact No Starch Press, Inc. directly:
No Starch Press, Inc.
245 8th Street, San Francisco, CA 94103
phone: 1.415.863.9900; info@nostarch.com
www.nostarch.com
Library of Congress Cataloging-in-Publication Data
Names: Sweigart, Al, author.
Title: Cracking codes with Python : an introduction to building and breaking
ciphers / Al Sweigart.
Description: San Francisco : No Starch Press,Inc., [2018]
Identifiers: LCCN 2017035704 (print) | LCCN 2017047589 (ebook) | ISBN
9781593278694 (epub) | ISBN 1593278691 (epub) | ISBN 9781593278229 (pbk.)
| ISBN 1593278225 (pbk.)
Subjects: LCSH: Data encryption (Computer science) | Python (Computer program
language) | Computer security. | Hacking.
Classification: LCC QA76.9.A25 (ebook) | LCC QA76.9.A25 S9317 2018 (print) |
DDC 005.8/7--dc23
LC record available at https://lccn.loc.gov/2017035704
No Starch Press and the No Starch Press logo are registered trademarks of No Starch Press, Inc. Other
product and company names mentioned herein may be the trademarks of their respective owners. Rather
than use a trademark symbol with every occurrence of a trademarked name, we are using the names only
in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the
trademark.
The information in this book is distributed on an “As Is” basis, without warranty. While every precaution
has been taken in the preparation of this work, neither the author nor No Starch Press, Inc. shall have any
liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or
indirectly by the information contained in it.
剩余417页未读,继续阅读













trismile
- 粉丝: 4
- 资源: 65
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助

会员权益专享
安全验证
文档复制为VIP权益,开通VIP直接复制

评论0