Chapter 14: Cryptography and Steganography
Python, in addition to being one of the most commonly used languages in computer security, is also well known for proposing solutions for its use in cryptography applications. This chapter covers cryptographic functions and implementations in Python, going into detail on some encryption and decryption algorithms and hash functions.
This chapter covers the main modules we have in Python for encrypting and decrypting information, including pycryptodome
and cryptography
. Also, we will cover steganography techniques and how to hide information in images with stepic
modules. Finally, we will cover Python modules that generate keys securely with the secrets
and hashlib
modules.
You will acquire skills related to encrypting and decrypting information with Python modules and other techniques such as steganography for hiding information in images.
The following topics will be covered in this chapter:
- Encrypting and decrypting information...