Book Image

Python Web Penetration Testing Cookbook

By : Benjamin May, Cameron Buchanan, Andrew Mabbitt, Dave Mound, Terry Ip
Book Image

Python Web Penetration Testing Cookbook

By: Benjamin May, Cameron Buchanan, Andrew Mabbitt, Dave Mound, Terry Ip

Overview of this book

Table of Contents (16 chapters)
Python Web Penetration Testing Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 7. Encryption and Encoding

In this chapter, we will cover the following topics:

  • Generating an MD5 hash

  • Generating an SHA 1/128/256 hash

  • Implementing SHA and MD5 hashes together

  • Implementing SHA in a real-world scenario

  • Generating a Bcrypt hash

  • Cracking an MD5 hash

  • Encoding with Base64

  • Encoding with ROT13

  • Cracking a substitution cipher

  • Cracking the Atbash cipher

  • Attacking one-time pad reuse

  • Predicting a linear congruential generator

  • Identifying hashes