Cryptography introduction
Martin McBride, 2020-02-22
Tags encryption
Categories cryptography

The cryptography module includes implementations of various cryptogrtaphic algorithms, including encryption, key derivation and message digests.
The library is divided into two layers. The recipes layer contains complete solutions for implementing symmetric encryption and certificates:
- Getting started - installing cryptography.
- Fernet - using the Fernet system for symmetric encryption.
The hazmat layer contains various cryptography primitives. Hazmat is short for hazardous materials. These primitives require a deeper knowledge of cryptography to be used successfully, as incorrect usage risk security holes. They aren't covered in this tutorial.
If you found this article useful, you might be interested in the book Functional Programming in Python or other books by the same author.