Martin McBride, 2020-02-22
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.