This article is part of a series on the Python cryptography library.
The hazmat layer (or Hazardous Materials layer) of the library contains cryptography primitives that can be used to design cryptographic systems, but they require skill and understanding of cryptographic principles to be used safely. There are many opportunities to make mistakes when using these primitives that can render your system less secure than it might be.
For more foolproof, off the shelf solutions, consider the recipes layer.
Copyright (c) Axlesoft Ltd 2020