Cracking Codes with Python: An Introduction to Building and Breaking Ciphers

简介:
学习如何在Python中编程,同时制作和打破密码-用于创建和发送秘密消息的算法!在Python编程基础知识的速成课程之后,您将学习制作,测试和破解使用经典密码 (如转置密码和vigen è re密码) 加密文本的程序。您将从反向和凯撒密码的简单程序开始,然后使用公钥密码术,这是用于保护当今在线交易的加密类型,包括数字签名,电子邮件和比特币。每个程序都包括完整的代码和对事物如何工作的逐行解释。在本书的最后,您将学习如何用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!
Combine loops, variables, and flow control statements into real working programsUse dictionary files to instantly detect whether decrypted messages are valid English or gibberishCreate test programs to make sure that your code encrypts and decrypts correctlyCode (and hack!) a working example of the affine cipher, which uses modular arithmetic to encrypt a messageBreak ciphers with techniques such as brute-force and frequency analysis
- 书名
- Cracking Codes with Python: An Introduction to Building and Breaking Ciphers
- 译名
- 使用 Python 破解密码:密码构建和破解简介
- 语言
- 英语
- 年份
- 2018
- 页数
- 403页
- 大小
- 4.44 MB
- 标签
- Python
- 下载
Cracking Codes with Python: An Introduction to Building and Breaking Ciphers.pdf
- 密码
- 65536
最后更新:2025-04-12 23:54:38
←The Hitchhiker's Guide to Python: Best Practices for Development