# Hands-On Cryptography with Python
<a href="https://www.packtpub.com/networking-and-servers/hands-cryptography-python?utm_source=repository&utm_medium=github&utm_campaign=repository&utm_term=9781789534443"><img src="https://d255esdrn735hr.cloudfront.net/sites/default/files/imagecache/ppv4_main_book_cover/B11735.png" alt="Hands-On Cryptography with Python" height="256px" align="right"></a>
This is the code repository for [Hands-On Cryptography with Python](https://www.packtpub.com/networking-and-servers/hands-cryptography-python), published by Packt.
**Leverage the power of Python to encrypt and decrypt data**
## What is this book about?
Cryptography is essential for protecting sensitive information, but it is often performed inadequately or incorrectly.
This book covers the following exciting features:
* Protect data with encryption and hashing
* Explore and compare various encryption methods
* Encrypt data using the Caesar Cipher technique
* Make hashes and crack them
* Learn how to use three NIST-recommended systems: AES, SHA, and RSA
If you feel this book is for you, get your [copy](https://www.amazon.com/dp/1789534445) today!
<a href="https://www.packtpub.com/?utm_source=github&utm_medium=banner&utm_campaign=GitHubBanner"><img src="https://raw.githubusercontent.com/PacktPublishing/GitHub/master/GitHub.png"
alt="https://www.packtpub.com/" border="5" /></a>
## Instructions and Navigations
All of the code is organized into folders. For example, Chapter01.
The code will look like the following:
```
alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
str_in = raw_input("Enter message, like HELLO: ")
n = len(str_in)
str_out = ""
for i in range(n):
c = str_in[i]
loc = alpha.find(c)
print i, c, loc,
newloc = loc + 3
str_out += alpha[newloc]
print newloc, str_out
print "Obfuscated version:", str_out
```
**Following is what you need for this book:**
Hands-On Cryptography with Python is for security professionals who want to learn to encrypt and evaluate data, and compare different encryption methods.
With the following software and hardware list you can run all code files present in the book (Chapter 1-3).
### Software and Hardware List
| Chapter | Software required | OS required |
| -------- | ------------------------------------| -----------------------------------|
| 1-3 | Python (latest version) | macOS or Ubuntu/Linux |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. [Click here to download it](https://www.packtpub.com/sites/default/files/downloads/HandsOnCryptographywithPython_ColorImages.pdf).
### Related products <Paste books from the Other books you may enjoy section>
* Python Penetration Testing Cookbook [[Packt]](https://www.packtpub.com/networking-and-servers/python-penetration-testing-cookbook?utm_source=repository&utm_medium=github&utm_campaign=repository&utm_term=9781784399771) [[Amazon]](https://www.amazon.com/dp/1784399779)
* Python For Offensive PenTest [[Packt]](https://www.packtpub.com/networking-and-servers/python-offensive-pentest?utm_source=repository&utm_medium=github&utm_campaign=repository&utm_term=9781788838979) [[Amazon]](https://www.amazon.com/dp/1788838971)
## Get to Know the Author
**Sam Bowne**
has been teaching computer networking and security classes at City College of San Francisco since 2000. He has given talks and hands-on training at DEFCON, HOPE, B-Sides SF, B-Sides LV, BayThreat, LayerOne, Toorcon, and many other schools and conferences. He has done his PhD and CISSP. He is a DEF CON Black-Badge co-winner.
### Suggestions and Feedback
[Click here](https://docs.google.com/forms/d/e/1FAIpQLSdy7dATC6QmEL81FIUuymZ0Wy9vH1jHkvpY57OiMeKGqib_Ow/viewform) if you have any feedback or suggestions.
### Download a free PDF
<i>If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.<br>Simply click on the link to claim your free PDF.</i>
<p align="center"> <a href="https://packt.link/free-ebook/9781789534443">https://packt.link/free-ebook/9781789534443 </a> </p>
没有合适的资源?快使用搜索试试~ 我知道了~
Packt使用Python进行密码学实践的代码库.zip
共31个文件
py:26个
txt:1个
base64-chal:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 30 浏览量
2023-03-26
23:50:32
上传
评论
收藏 16KB ZIP 举报
温馨提示
Packt使用Python进行密码学实践的代码库.zip
资源推荐
资源详情
资源评论
收起资源包目录
Packt使用Python进行密码学实践的代码库.zip (31个子文件)
Hands-On-Cryptography-with-Python-master
Chapter03
3-6-Chal2-Solution.txt 5KB
pador-code.htm 627B
pador.py 647B
Chapter01
rot13.py 286B
xor5.py 303B
xor2a.py 234B
xor2.py 184B
caesar4.py 323B
xor3.py 189B
hello.py 14B
xor4.py 229B
xor1.py 93B
base64-loop.py 95B
caesar3.py 357B
base64-chal 18B
caesar1.py 313B
caesar5.py 287B
caesar2.py 318B
LICENSE 1KB
Chapter02
chal2-6-solution.py 205B
chal1a.py 129B
chal1c.py 392B
chal1d.py 515B
chal2-6-prep.py 145B
chal1f-7digit-solution.py 739B
chal2-5a-solution.py 203B
chal2-5b-solution.py 256B
chal1b-solution.py 274B
chal1e.py 607B
chal2-5-prep.py 205B
README.md 4KB
共 31 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功