𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Hands-On Cryptography with Python: Leverage the power of Python to encrypt and decrypt data

✍ Scribed by Samuel Bowne


Publisher
Packt Publishing
Year
2018
Tongue
English
Leaves
95
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Learn to evaluate and compare data encryption methods and attack cryptographic systems

Key Features

  • Explore popular and important cryptographic methods
  • Compare cryptographic modes and understand their limitations
  • Learn to perform attacks on cryptographic systems

Book Description

Cryptography is essential for protecting sensitive information, but it is often performed inadequately or incorrectly.

Hands-On Cryptography with Python starts by showing you how to encrypt and evaluate your data. The book will then walk you through various data encryption methods,such as obfuscation, hashing, and strong encryption, and will show how you can attack cryptographic systems. You will learn how to create hashes, crack them, and will understand why they are so different from each other. In the concluding chapters, you will use three NIST-recommended systems: the Advanced Encryption Standard (AES), the Secure Hash Algorithm (SHA), and the Rivest-Shamir-Adleman (RSA).

By the end of this book, you will be able to deal with common errors in encryption.

What you will learn

  • 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
  • Understand common errors in encryption and exploit them

Who This Book Is For

Hands-On Cryptography with Python is for security professionals who want to learn to encrypt and evaluate data, and compare different encryption methods.

Table of Contents

  1. Obfuscation
  2. Hashing
  3. Strong Encryption

✦ Table of Contents


Cover
Title Page
Copyright and Credits
Packt Upsell
Contributor
Table of Contents
Preface
Chapter 1: Obfuscation
About cryptography
Installing and setting up Python
Using Python on Mac or Linux
Installing Python on Windows
Caesar cipher and ROT13
Implementing the Caesar cipher in Python
ROT13
base64 encoding
ASCII data
Binary data
XOR
Challenge 1 – the Caesar cipher
Challenge 2 – base64
Challenge 3 – XOR
Summary
Chapter 2: Hashing
MD5 and SHA hashes
What are hashes?
Windows password hashes
Getting hashes with Cain
MD4 and Unicode
Cracking hashes with Google
Cracking hashes with wordlists
Linux password hashes
Challenge 1 – cracking Windows hashes
Challenge 2 – cracking many-round hashes
Challenge 3 – cracking Linux hashes
Summary
Chapter 3: Strong Encryption
Strong encryption with AES
ECB and CBC modes
ECB
CBC
Padding oracle attack
Strong encryption with RSA
Public key encryption
RSA algorithm
Implementation in Python
Challenge – cracking RSA with similar factors
Large integers in Python
What's next?
Cryptography within IoT
ZigBee cryptographic keys
Complexity of ZigBee key management
Bluetooth – LE
Summary
Other Books You May Enjoy
Index


πŸ“œ SIMILAR VOLUMES


Hands-On Cryptography with Python: Lever
✍ Samuel Bowne πŸ“‚ Library πŸ“… 2018 πŸ› Packt Publishing 🌐 English

Learn to evaluate and compare data encryption methods and attack cryptographic systems Key Features Explore popular and important cryptographic methods Compare cryptographic modes and understand their limitations Learn to perform attacks on cryptographic systems Book Description Cryptography is esse

Hands-On Cryptography with Python: Lever
✍ Samuel Bowne πŸ“‚ Library πŸ“… 2018 πŸ› Packt Publishing 🌐 English

<div><p><strong>Learn to evaluate and compare data encryption methods and attack cryptographic systems</strong></p><h4>Key Features</h4><ul><li>Explore popular and important cryptographic methods</li><li>Compare cryptographic modes and understand their limitations</li><li>Learn to perform attacks on

Cryptography with Python: Unlocking Digi
✍ Muhammad Abdullahi, Abdeladim Fadheli πŸ“‚ Library πŸ“… 2024 πŸ› Independently Published 🌐 English

Cryptography with Python is a meticulously crafted guide aimed at equipping readers with the knowledge and skills necessary to apply cryptography effectively using Python, one of the most accessible and widely used programming languages today. This eBook explores the core principles of cryptography,

Python for Data Analysis: Data Wrangling
✍ Wes McKinney πŸ“‚ Library πŸ“… 2017 πŸ› O'Reilly Media 🌐 English

Looking for complete instructions on manipulating, processing, cleaning, and crunching structured data in Python? The second edition of this hands-on guide--updated for Python 3.5 and Pandas 1.0--is packed with practical cases studies that show you how to effectively solve a broad set of data analys